HSL(51, 84%, 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,84%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 84%, 10%) | color: hsl(51, 84%, 10%) | |
| HEX | #2F2804 | color: #2F2804 | |
| RGB | rgb(47, 40, 4) | color: rgb(47, 40, 4) | |
| CMYK | cmyk(0%, 15%, 91%, 82%) | — | |
| HSV | hsv(50, 91%, 18%) | — | |
| HWB | hwb(50 2% 82%) | color: hwb(50 2% 82%) | |
| OKLCH | oklch(0.2767 0.0527 97.97) | color: oklch(0.2767 0.0527 97.97) | |
| Lab | lab(16.16 -1.67 21.81) | color: lab(16.16 -1.67 21.81) | |
| LCH | lch(16.16 21.87 94.38) | color: lch(16.16 21.87 94.38) |
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)
#2C2C0D — rgb(44, 44, 13)
Deuteranopia (Green-blind)
#2C2D0F — rgb(44, 45, 15)
Tritanopia (Blue-blind)
#2F1415 — rgb(47, 20, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 84%, 10%);
text
color: hsl(51, 84%, 10%);
border
border: 2px solid hsl(51, 84%, 10%);
gradient light
background: linear-gradient(to right, hsl(51, 84%, 30%), hsl(51, 84%, 10%));
gradient dark
background: linear-gradient(to right, hsl(51, 84%, 10%), hsl(51, 84%, 0%))
hex
background-color: #2F2804;
tailwind
bg-[hsl(51,84%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 84%, 10%, 0.4);
css variable
--color-primary: hsl(51, 84%, 10%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 84%, 10%)?
HEX: #2F2804 | RGB: rgb(47, 40, 4) | CMYK: 0%, 15%, 91%, 82% | HSV: 50°, 91%, 18%. Copy any format from the conversion table above.
What colors go well with #2F2804?
The complementary color is HSL(231, 84%, 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, 84%, 10%) in CSS?
As HSL: color: hsl(51, 84%, 10%); — As HEX: color: #2F2804; — As RGB: color: rgb(47, 40, 4); — Tailwind CSS: bg-[hsl(51,84%,10%)] — CSS variable: --color-primary: hsl(51, 84%, 10%);