HSL(47, 96%, 37%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,96%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 96%, 37%) | color: hsl(47, 96%, 37%) | |
| HEX | #B99204 | color: #B99204 | |
| RGB | rgb(185, 146, 4) | color: rgb(185, 146, 4) | |
| CMYK | cmyk(0%, 21%, 98%, 27%) | — | |
| HSV | hsv(47, 98%, 73%) | — | |
| HWB | hwb(47 1% 27%) | color: hwb(47 1% 27%) | |
| OKLCH | oklch(0.6773 0.1376 89.44) | color: oklch(0.6773 0.1376 89.44) | |
| Lab | lab(62.41 3.63 66.14) | color: lab(62.41 3.63 66.14) | |
| LCH | lch(62.41 66.24 86.86) | color: lch(62.41 66.24 86.86) |
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)
#A8A826 — rgb(168, 168, 38)
Deuteranopia (Green-blind)
#AAAD2F — rgb(170, 173, 47)
Tritanopia (Blue-blind)
#B74147 — rgb(183, 65, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 96%, 37%);
text
color: hsl(47, 96%, 37%);
border
border: 2px solid hsl(47, 96%, 37%);
gradient light
background: linear-gradient(to right, hsl(47, 96%, 57%), hsl(47, 96%, 37%));
gradient dark
background: linear-gradient(to right, hsl(47, 96%, 37%), hsl(47, 96%, 17%))
hex
background-color: #B99204;
tailwind
bg-[hsl(47,96%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 96%, 37%, 0.4);
css variable
--color-primary: hsl(47, 96%, 37%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 96%, 37%)?
HEX: #B99204 | RGB: rgb(185, 146, 4) | CMYK: 0%, 21%, 98%, 27% | HSV: 47°, 98%, 73%. Copy any format from the conversion table above.
What colors go well with #B99204?
The complementary color is HSL(227, 96%, 37%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 96%, 37%) in CSS?
As HSL: color: hsl(47, 96%, 37%); — As HEX: color: #B99204; — As RGB: color: rgb(185, 146, 4); — Tailwind CSS: bg-[hsl(47,96%,37%)] — CSS variable: --color-primary: hsl(47, 96%, 37%);