HSL(51, 59%, 35%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,59%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 59%, 35%) | color: hsl(51, 59%, 35%) | |
| HEX | #8E7E25 | color: #8E7E25 | |
| RGB | rgb(142, 126, 37) | color: rgb(142, 126, 37) | |
| CMYK | cmyk(0%, 11%, 74%, 44%) | — | |
| HSV | hsv(51, 74%, 56%) | — | |
| HWB | hwb(51 15% 44%) | color: hwb(51 15% 44%) | |
| OKLCH | oklch(0.5912 0.1077 98.74) | color: oklch(0.5912 0.1077 98.74) | |
| Lab | lab(52.74 -4.18 48.02) | color: lab(52.74 -4.18 48.02) | |
| LCH | lch(52.74 48.2 94.97) | color: lch(52.74 48.2 94.97) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#87873B — rgb(135, 135, 59)
Deuteranopia (Green-blind)
#888940 — rgb(136, 137, 64)
Tritanopia (Blue-blind)
#8D4C4F — rgb(141, 76, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 59%, 35%);
text
color: hsl(51, 59%, 35%);
border
border: 2px solid hsl(51, 59%, 35%);
gradient light
background: linear-gradient(to right, hsl(51, 59%, 55%), hsl(51, 59%, 35%));
gradient dark
background: linear-gradient(to right, hsl(51, 59%, 35%), hsl(51, 59%, 15%))
hex
background-color: #8E7E25;
tailwind
bg-[hsl(51,59%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 59%, 35%, 0.4);
css variable
--color-primary: hsl(51, 59%, 35%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 59%, 35%)?
HEX: #8E7E25 | RGB: rgb(142, 126, 37) | CMYK: 0%, 11%, 74%, 44% | HSV: 51°, 74%, 56%. Copy any format from the conversion table above.
What colors go well with #8E7E25?
The complementary color is HSL(231, 59%, 35%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 59%, 35%) in CSS?
As HSL: color: hsl(51, 59%, 35%); — As HEX: color: #8E7E25; — As RGB: color: rgb(142, 126, 37); — Tailwind CSS: bg-[hsl(51,59%,35%)] — CSS variable: --color-primary: hsl(51, 59%, 35%);