HSL(52, 69%, 36%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,69%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 69%, 36%) | color: hsl(52, 69%, 36%) | |
| HEX | #9B8A1C | color: #9B8A1C | |
| RGB | rgb(155, 138, 28) | color: rgb(155, 138, 28) | |
| CMYK | cmyk(0%, 11%, 82%, 39%) | — | |
| HSV | hsv(52, 82%, 61%) | — | |
| HWB | hwb(52 11% 39%) | color: hwb(52 11% 39%) | |
| OKLCH | oklch(0.6301 0.1226 99.79) | color: oklch(0.6301 0.1226 99.79) | |
| Lab | lab(57.3 -5.2 55.89) | color: lab(57.3 -5.2 55.89) | |
| LCH | lch(57.3 56.13 95.32) | color: lch(57.3 56.13 95.32) |
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)
#949337 — rgb(148, 147, 55)
Deuteranopia (Green-blind)
#95963D — rgb(149, 150, 61)
Tritanopia (Blue-blind)
#9A4C50 — rgb(154, 76, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 69%, 36%);
text
color: hsl(52, 69%, 36%);
border
border: 2px solid hsl(52, 69%, 36%);
gradient light
background: linear-gradient(to right, hsl(52, 69%, 56%), hsl(52, 69%, 36%));
gradient dark
background: linear-gradient(to right, hsl(52, 69%, 36%), hsl(52, 69%, 16%))
hex
background-color: #9B8A1C;
tailwind
bg-[hsl(52,69%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 69%, 36%, 0.4);
css variable
--color-primary: hsl(52, 69%, 36%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 69%, 36%)?
HEX: #9B8A1C | RGB: rgb(155, 138, 28) | CMYK: 0%, 11%, 82%, 39% | HSV: 52°, 82%, 61%. Copy any format from the conversion table above.
What colors go well with #9B8A1C?
The complementary color is HSL(232, 69%, 36%). 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, 69%, 36%) in CSS?
As HSL: color: hsl(52, 69%, 36%); — As HEX: color: #9B8A1C; — As RGB: color: rgb(155, 138, 28); — Tailwind CSS: bg-[hsl(52,69%,36%)] — CSS variable: --color-primary: hsl(52, 69%, 36%);