HSL(51, 92%, 10%)
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,92%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 92%, 10%) | color: hsl(51, 92%, 10%) | |
| HEX | #312A02 | color: #312A02 | |
| RGB | rgb(49, 42, 2) | color: rgb(49, 42, 2) | |
| CMYK | cmyk(0%, 14%, 96%, 81%) | — | |
| HSV | hsv(51, 96%, 19%) | — | |
| HWB | hwb(51 1% 81%) | color: hwb(51 1% 81%) | |
| OKLCH | oklch(0.2843 0.0568 99.01) | color: oklch(0.2843 0.0568 99.01) | |
| Lab | lab(17.05 -2.04 23.78) | color: lab(17.05 -2.04 23.78) | |
| LCH | lch(17.05 23.87 94.9) | color: lch(17.05 23.87 94.9) |
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)
#2E2E0C — rgb(46, 46, 12)
Deuteranopia (Green-blind)
#2E2F0E — rgb(46, 47, 14)
Tritanopia (Blue-blind)
#311315 — rgb(49, 19, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 92%, 10%);
text
color: hsl(51, 92%, 10%);
border
border: 2px solid hsl(51, 92%, 10%);
gradient light
background: linear-gradient(to right, hsl(51, 92%, 30%), hsl(51, 92%, 10%));
gradient dark
background: linear-gradient(to right, hsl(51, 92%, 10%), hsl(51, 92%, 0%))
hex
background-color: #312A02;
tailwind
bg-[hsl(51,92%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 92%, 10%, 0.4);
css variable
--color-primary: hsl(51, 92%, 10%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 92%, 10%)?
HEX: #312A02 | RGB: rgb(49, 42, 2) | CMYK: 0%, 14%, 96%, 81% | HSV: 51°, 96%, 19%. Copy any format from the conversion table above.
What colors go well with #312A02?
The complementary color is HSL(231, 92%, 10%). 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, 92%, 10%) in CSS?
As HSL: color: hsl(51, 92%, 10%); — As HEX: color: #312A02; — As RGB: color: rgb(49, 42, 2); — Tailwind CSS: bg-[hsl(51,92%,10%)] — CSS variable: --color-primary: hsl(51, 92%, 10%);