HSL(51, 74%, 8%)
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(51,74%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 74%, 8%) | color: hsl(51, 74%, 8%) | |
| HEX | #231F05 | color: #231F05 | |
| RGB | rgb(35, 31, 5) | color: rgb(35, 31, 5) | |
| CMYK | cmyk(0%, 11%, 86%, 86%) | — | |
| HSV | hsv(52, 86%, 14%) | — | |
| HWB | hwb(52 2% 86%) | color: hwb(52 2% 86%) | |
| OKLCH | oklch(0.2372 0.042 100.78) | color: oklch(0.2372 0.042 100.78) | |
| Lab | lab(11.61 -2.24 15.15) | color: lab(11.61 -2.24 15.15) | |
| LCH | lch(11.61 15.31 98.41) | color: lch(11.61 15.31 98.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)
#21210B — rgb(33, 33, 11)
Deuteranopia (Green-blind)
#22220D — rgb(34, 34, 13)
Tritanopia (Blue-blind)
#231011 — rgb(35, 16, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 74%, 8%);
text
color: hsl(51, 74%, 8%);
border
border: 2px solid hsl(51, 74%, 8%);
gradient light
background: linear-gradient(to right, hsl(51, 74%, 28%), hsl(51, 74%, 8%));
gradient dark
background: linear-gradient(to right, hsl(51, 74%, 8%), hsl(51, 74%, 0%))
hex
background-color: #231F05;
tailwind
bg-[hsl(51,74%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 74%, 8%, 0.4);
css variable
--color-primary: hsl(51, 74%, 8%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 74%, 8%)?
HEX: #231F05 | RGB: rgb(35, 31, 5) | CMYK: 0%, 11%, 86%, 86% | HSV: 52°, 86%, 14%. Copy any format from the conversion table above.
What colors go well with #231F05?
The complementary color is HSL(231, 74%, 8%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 74%, 8%) in CSS?
As HSL: color: hsl(51, 74%, 8%); — As HEX: color: #231F05; — As RGB: color: rgb(35, 31, 5); — Tailwind CSS: bg-[hsl(51,74%,8%)] — CSS variable: --color-primary: hsl(51, 74%, 8%);