HSL(45, 85%, 29%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(45,85%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(45, 85%, 29%) color: hsl(45, 85%, 29%)
HEX #89690B color: #89690B
RGB rgb(137, 105, 11) color: rgb(137, 105, 11)
CMYK cmyk(0%, 23%, 92%, 46%)
HSV hsv(45, 92%, 54%)
HWB hwb(45 4% 46%) color: hwb(45 4% 46%)
OKLCH oklch(0.5382 0.1068 86.74) color: oklch(0.5382 0.1068 86.74)
Lab lab(46.24 4.48 50.58) color: lab(46.24 4.48 50.58)
LCH lch(46.24 50.78 84.94) color: lch(46.24 50.78 84.94)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 5.14:1
vs Black 4.09:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#7B7B22 — rgb(123, 123, 34)

Deuteranopia (Green-blind)

#7D7F27 — rgb(125, 127, 39)

Tritanopia (Blue-blind)

#873438 — rgb(135, 52, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(45, 85%, 29%);

text

color: hsl(45, 85%, 29%);

border

border: 2px solid hsl(45, 85%, 29%);

gradient light

background: linear-gradient(to right, hsl(45, 85%, 49%), hsl(45, 85%, 29%));

gradient dark

background: linear-gradient(to right, hsl(45, 85%, 29%), hsl(45, 85%, 9%))

hex

background-color: #89690B;

tailwind

bg-[hsl(45,85%,29%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(45, 85%, 29%, 0.4);

css variable

--color-primary: hsl(45, 85%, 29%);

Related Colors

Use Cases for Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(45, 85%, 29%)?

HEX: #89690B | RGB: rgb(137, 105, 11) | CMYK: 0%, 23%, 92%, 46% | HSV: 45°, 92%, 54%. Copy any format from the conversion table above.

What colors go well with #89690B?

The complementary color is HSL(225, 85%, 29%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(45, 85%, 29%) in CSS?

As HSL: color: hsl(45, 85%, 29%); — As HEX: color: #89690B; — As RGB: color: rgb(137, 105, 11); — Tailwind CSS: bg-[hsl(45,85%,29%)] — CSS variable: --color-primary: hsl(45, 85%, 29%);