HSL(51, 32%, 47%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,32%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 32%, 47%) | color: hsl(51, 32%, 47%) | |
| HEX | #9E9351 | color: #9E9351 | |
| RGB | rgb(158, 147, 81) | color: rgb(158, 147, 81) | |
| CMYK | cmyk(0%, 7%, 49%, 38%) | — | |
| HSV | hsv(51, 49%, 62%) | — | |
| HWB | hwb(51 32% 38%) | color: hwb(51 32% 38%) | |
| OKLCH | oklch(0.658 0.0879 100.02) | color: oklch(0.658 0.0879 100.02) | |
| Lab | lab(60.54 -5.27 36.19) | color: lab(60.54 -5.27 36.19) | |
| LCH | lch(60.54 36.57 98.29) | color: lch(60.54 36.57 98.29) |
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)
#999961 — rgb(153, 153, 97)
Deuteranopia (Green-blind)
#9A9B65 — rgb(154, 155, 101)
Tritanopia (Blue-blind)
#9D6E70 — rgb(157, 110, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 32%, 47%);
text
color: hsl(51, 32%, 47%);
border
border: 2px solid hsl(51, 32%, 47%);
gradient light
background: linear-gradient(to right, hsl(51, 32%, 67%), hsl(51, 32%, 47%));
gradient dark
background: linear-gradient(to right, hsl(51, 32%, 47%), hsl(51, 32%, 27%))
hex
background-color: #9E9351;
tailwind
bg-[hsl(51,32%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 32%, 47%, 0.4);
css variable
--color-primary: hsl(51, 32%, 47%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 32%, 47%)?
HEX: #9E9351 | RGB: rgb(158, 147, 81) | CMYK: 0%, 7%, 49%, 38% | HSV: 51°, 49%, 62%. Copy any format from the conversion table above.
What colors go well with #9E9351?
The complementary color is HSL(231, 32%, 47%). 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, 32%, 47%) in CSS?
As HSL: color: hsl(51, 32%, 47%); — As HEX: color: #9E9351; — As RGB: color: rgb(158, 147, 81); — Tailwind CSS: bg-[hsl(51,32%,47%)] — CSS variable: --color-primary: hsl(51, 32%, 47%);