HSL(52, 92%, 37%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,92%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 92%, 37%) | color: hsl(52, 92%, 37%) | |
| HEX | #B59E08 | color: #B59E08 | |
| RGB | rgb(181, 158, 8) | color: rgb(181, 158, 8) | |
| CMYK | cmyk(0%, 13%, 96%, 29%) | — | |
| HSV | hsv(52, 96%, 71%) | — | |
| HWB | hwb(52 3% 29%) | color: hwb(52 3% 29%) | |
| OKLCH | oklch(0.6985 0.1432 98.64) | color: oklch(0.6985 0.1432 98.64) | |
| Lab | lab(65.2 -4.6 67.44) | color: lab(65.2 -4.6 67.44) | |
| LCH | lch(65.2 67.6 93.9) | color: lch(65.2 67.6 93.9) |
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)
#ABAB2C — rgb(171, 171, 44)
Deuteranopia (Green-blind)
#ACAE35 — rgb(172, 174, 53)
Tritanopia (Blue-blind)
#B4494F — rgb(180, 73, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 92%, 37%);
text
color: hsl(52, 92%, 37%);
border
border: 2px solid hsl(52, 92%, 37%);
gradient light
background: linear-gradient(to right, hsl(52, 92%, 57%), hsl(52, 92%, 37%));
gradient dark
background: linear-gradient(to right, hsl(52, 92%, 37%), hsl(52, 92%, 17%))
hex
background-color: #B59E08;
tailwind
bg-[hsl(52,92%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 92%, 37%, 0.4);
css variable
--color-primary: hsl(52, 92%, 37%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 92%, 37%)?
HEX: #B59E08 | RGB: rgb(181, 158, 8) | CMYK: 0%, 13%, 96%, 29% | HSV: 52°, 96%, 71%. Copy any format from the conversion table above.
What colors go well with #B59E08?
The complementary color is HSL(232, 92%, 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, 92%, 37%) in CSS?
As HSL: color: hsl(52, 92%, 37%); — As HEX: color: #B59E08; — As RGB: color: rgb(181, 158, 8); — Tailwind CSS: bg-[hsl(52,92%,37%)] — CSS variable: --color-primary: hsl(52, 92%, 37%);