HSL(59, 92%, 29%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(59,92%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(59, 92%, 29%) color: hsl(59, 92%, 29%)
HEX #8E8C06 color: #8E8C06
RGB rgb(142, 140, 6) color: rgb(142, 140, 6)
CMYK cmyk(0%, 1%, 96%, 44%)
HSV hsv(59, 96%, 56%)
HWB hwb(59 2% 44%) color: hwb(59 2% 44%)
OKLCH oklch(0.6215 0.1332 108.7) color: oklch(0.6215 0.1332 108.7)
Lab lab(56.61 -12.77 59.7) color: lab(56.61 -12.77 59.7)
LCH lch(56.61 61.05 102.07) color: lch(56.61 61.05 102.07)

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 3.56:1
vs Black 5.9:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8D8D26 — rgb(141, 141, 38)

Deuteranopia (Green-blind)

#8D8D2E — rgb(141, 141, 46)

Tritanopia (Blue-blind)

#8E4046 — rgb(142, 64, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(59, 92%, 29%);

text

color: hsl(59, 92%, 29%);

border

border: 2px solid hsl(59, 92%, 29%);

gradient light

background: linear-gradient(to right, hsl(59, 92%, 49%), hsl(59, 92%, 29%));

gradient dark

background: linear-gradient(to right, hsl(59, 92%, 29%), hsl(59, 92%, 9%))

hex

background-color: #8E8C06;

tailwind

bg-[hsl(59,92%,29%)]

box shadow

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

css variable

--color-primary: hsl(59, 92%, 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(59, 92%, 29%)?

HEX: #8E8C06 | RGB: rgb(142, 140, 6) | CMYK: 0%, 1%, 96%, 44% | HSV: 59°, 96%, 56%. Copy any format from the conversion table above.

What colors go well with #8E8C06?

The complementary color is HSL(239, 92%, 29%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(59, 92%, 29%) in CSS?

As HSL: color: hsl(59, 92%, 29%); — As HEX: color: #8E8C06; — As RGB: color: rgb(142, 140, 6); — Tailwind CSS: bg-[hsl(59,92%,29%)] — CSS variable: --color-primary: hsl(59, 92%, 29%);