HSL(45, 50%, 9%)
Very Dark Yellow — Yellow color
Adjust Color
Color Information
Color Name
Very Dark Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,50%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 50%, 9%) | color: hsl(45, 50%, 9%) | |
| HEX | #221D0B | color: #221D0B | |
| RGB | rgb(34, 29, 11) | color: rgb(34, 29, 11) | |
| CMYK | cmyk(0%, 15%, 68%, 87%) | — | |
| HSV | hsv(47, 68%, 13%) | — | |
| HWB | hwb(47 4% 87%) | color: hwb(47 4% 87%) | |
| OKLCH | oklch(0.2314 0.0314 94.23) | color: oklch(0.2314 0.0314 94.23) | |
| Lab | lab(10.87 -0.72 11.66) | color: lab(10.87 -0.72 11.66) | |
| LCH | lch(10.87 11.68 93.53) | color: lch(10.87 11.68 93.53) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#20200F — rgb(32, 32, 15)
Deuteranopia (Green-blind)
#202110 — rgb(32, 33, 16)
Tritanopia (Blue-blind)
#221314 — rgb(34, 19, 20)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 50%, 9%);
text
color: hsl(45, 50%, 9%);
border
border: 2px solid hsl(45, 50%, 9%);
gradient light
background: linear-gradient(to right, hsl(45, 50%, 29%), hsl(45, 50%, 9%));
gradient dark
background: linear-gradient(to right, hsl(45, 50%, 9%), hsl(45, 50%, 0%))
hex
background-color: #221D0B;
tailwind
bg-[hsl(45,50%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 50%, 9%, 0.4);
css variable
--color-primary: hsl(45, 50%, 9%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 50%, 9%)?
HEX: #221D0B | RGB: rgb(34, 29, 11) | CMYK: 0%, 15%, 68%, 87% | HSV: 47°, 68%, 13%. Copy any format from the conversion table above.
What colors go well with #221D0B?
The complementary color is HSL(225, 50%, 9%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 50%, 9%) in CSS?
As HSL: color: hsl(45, 50%, 9%); — As HEX: color: #221D0B; — As RGB: color: rgb(34, 29, 11); — Tailwind CSS: bg-[hsl(45,50%,9%)] — CSS variable: --color-primary: hsl(45, 50%, 9%);