HSL(52, 65%, 37%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,65%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 65%, 37%) | color: hsl(52, 65%, 37%) | |
| HEX | #9C8B21 | color: #9C8B21 | |
| RGB | rgb(156, 139, 33) | color: rgb(156, 139, 33) | |
| CMYK | cmyk(0%, 11%, 79%, 39%) | — | |
| HSV | hsv(52, 79%, 61%) | — | |
| HWB | hwb(52 13% 39%) | color: hwb(52 13% 39%) | |
| OKLCH | oklch(0.6336 0.1208 99.61) | color: oklch(0.6336 0.1208 99.61) | |
| Lab | lab(57.7 -5.1 54.66) | color: lab(57.7 -5.1 54.66) | |
| LCH | lch(57.7 54.9 95.33) | color: lch(57.7 54.9 95.33) |
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)
#95943B — rgb(149, 148, 59)
Deuteranopia (Green-blind)
#969741 — rgb(150, 151, 65)
Tritanopia (Blue-blind)
#9B4F53 — rgb(155, 79, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 65%, 37%);
text
color: hsl(52, 65%, 37%);
border
border: 2px solid hsl(52, 65%, 37%);
gradient light
background: linear-gradient(to right, hsl(52, 65%, 57%), hsl(52, 65%, 37%));
gradient dark
background: linear-gradient(to right, hsl(52, 65%, 37%), hsl(52, 65%, 17%))
hex
background-color: #9C8B21;
tailwind
bg-[hsl(52,65%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 65%, 37%, 0.4);
css variable
--color-primary: hsl(52, 65%, 37%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 65%, 37%)?
HEX: #9C8B21 | RGB: rgb(156, 139, 33) | CMYK: 0%, 11%, 79%, 39% | HSV: 52°, 79%, 61%. Copy any format from the conversion table above.
What colors go well with #9C8B21?
The complementary color is HSL(232, 65%, 37%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 65%, 37%) in CSS?
As HSL: color: hsl(52, 65%, 37%); — As HEX: color: #9C8B21; — As RGB: color: rgb(156, 139, 33); — Tailwind CSS: bg-[hsl(52,65%,37%)] — CSS variable: --color-primary: hsl(52, 65%, 37%);