HSL(45, 40%, 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,40%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 40%, 9%) | color: hsl(45, 40%, 9%) | |
| HEX | #201C0E | color: #201C0E | |
| RGB | rgb(32, 28, 14) | color: rgb(32, 28, 14) | |
| CMYK | cmyk(0%, 13%, 56%, 87%) | — | |
| HSV | hsv(47, 56%, 13%) | — | |
| HWB | hwb(47 6% 87%) | color: hwb(47 6% 87%) | |
| OKLCH | oklch(0.2267 0.0255 94.02) | color: oklch(0.2267 0.0255 94.02) | |
| Lab | lab(10.33 -0.73 9.46) | color: lab(10.33 -0.73 9.46) | |
| LCH | lch(10.33 9.49 94.41) | color: lch(10.33 9.49 94.41) |
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)
#1E1E11 — rgb(30, 30, 17)
Deuteranopia (Green-blind)
#1F1F12 — rgb(31, 31, 18)
Tritanopia (Blue-blind)
#201415 — rgb(32, 20, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 40%, 9%);
text
color: hsl(45, 40%, 9%);
border
border: 2px solid hsl(45, 40%, 9%);
gradient light
background: linear-gradient(to right, hsl(45, 40%, 29%), hsl(45, 40%, 9%));
gradient dark
background: linear-gradient(to right, hsl(45, 40%, 9%), hsl(45, 40%, 0%))
hex
background-color: #201C0E;
tailwind
bg-[hsl(45,40%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 40%, 9%, 0.4);
css variable
--color-primary: hsl(45, 40%, 9%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 40%, 9%)?
HEX: #201C0E | RGB: rgb(32, 28, 14) | CMYK: 0%, 13%, 56%, 87% | HSV: 47°, 56%, 13%. Copy any format from the conversion table above.
What colors go well with #201C0E?
The complementary color is HSL(225, 40%, 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, 40%, 9%) in CSS?
As HSL: color: hsl(45, 40%, 9%); — As HEX: color: #201C0E; — As RGB: color: rgb(32, 28, 14); — Tailwind CSS: bg-[hsl(45,40%,9%)] — CSS variable: --color-primary: hsl(45, 40%, 9%);