HSL(56, 20%, 6%)
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(56,20%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 20%, 6%) | color: hsl(56, 20%, 6%) | |
| HEX | #12120C | color: #12120C | |
| RGB | rgb(18, 18, 12) | color: rgb(18, 18, 12) | |
| CMYK | cmyk(0%, 0%, 33%, 93%) | — | |
| HSV | hsv(60, 33%, 7%) | — | |
| HWB | hwb(60 5% 93%) | color: hwb(60 5% 93%) | |
| OKLCH | oklch(0.18 0.0118 107.53) | color: oklch(0.18 0.0118 107.53) | |
| Lab | lab(5.31 -1.09 2.96) | color: lab(5.31 -1.09 2.96) | |
| LCH | lch(5.31 3.15 110.22) | color: lch(5.31 3.15 110.22) |
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)
#12120D — rgb(18, 18, 13)
Deuteranopia (Green-blind)
#12120E — rgb(18, 18, 14)
Tritanopia (Blue-blind)
#120F0F — rgb(18, 15, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 20%, 6%);
text
color: hsl(56, 20%, 6%);
border
border: 2px solid hsl(56, 20%, 6%);
gradient light
background: linear-gradient(to right, hsl(56, 20%, 26%), hsl(56, 20%, 6%));
gradient dark
background: linear-gradient(to right, hsl(56, 20%, 6%), hsl(56, 20%, 0%))
hex
background-color: #12120C;
tailwind
bg-[hsl(56,20%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 20%, 6%, 0.4);
css variable
--color-primary: hsl(56, 20%, 6%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 20%, 6%)?
HEX: #12120C | RGB: rgb(18, 18, 12) | CMYK: 0%, 0%, 33%, 93% | HSV: 60°, 33%, 7%. Copy any format from the conversion table above.
What colors go well with #12120C?
The complementary color is HSL(236, 20%, 6%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(56, 20%, 6%) in CSS?
As HSL: color: hsl(56, 20%, 6%); — As HEX: color: #12120C; — As RGB: color: rgb(18, 18, 12); — Tailwind CSS: bg-[hsl(56,20%,6%)] — CSS variable: --color-primary: hsl(56, 20%, 6%);