HSL(58, 30%, 12%)
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(58,30%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(58, 30%, 12%) | color: hsl(58, 30%, 12%) | |
| HEX | #282715 | color: #282715 | |
| RGB | rgb(40, 39, 21) | color: rgb(40, 39, 21) | |
| CMYK | cmyk(0%, 2%, 48%, 84%) | — | |
| HSV | hsv(57, 48%, 16%) | — | |
| HWB | hwb(57 8% 84%) | color: hwb(57 8% 84%) | |
| OKLCH | oklch(0.2684 0.0307 105.55) | color: oklch(0.2684 0.0307 105.55) | |
| Lab | lab(15.26 -3.05 12.07) | color: lab(15.26 -3.05 12.07) | |
| LCH | lch(15.26 12.45 104.18) | color: lch(15.26 12.45 104.18) |
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)
#282819 — rgb(40, 40, 25)
Deuteranopia (Green-blind)
#28281A — rgb(40, 40, 26)
Tritanopia (Blue-blind)
#281D1E — rgb(40, 29, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(58, 30%, 12%);
text
color: hsl(58, 30%, 12%);
border
border: 2px solid hsl(58, 30%, 12%);
gradient light
background: linear-gradient(to right, hsl(58, 30%, 32%), hsl(58, 30%, 12%));
gradient dark
background: linear-gradient(to right, hsl(58, 30%, 12%), hsl(58, 30%, 0%))
hex
background-color: #282715;
tailwind
bg-[hsl(58,30%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(58, 30%, 12%, 0.4);
css variable
--color-primary: hsl(58, 30%, 12%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(58, 30%, 12%)?
HEX: #282715 | RGB: rgb(40, 39, 21) | CMYK: 0%, 2%, 48%, 84% | HSV: 57°, 48%, 16%. Copy any format from the conversion table above.
What colors go well with #282715?
The complementary color is HSL(238, 30%, 12%). For a triadic harmony, use hues 58°, 178°, and 298°. For analogous combinations, try hues 28° and 88°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(58, 30%, 12%) in CSS?
As HSL: color: hsl(58, 30%, 12%); — As HEX: color: #282715; — As RGB: color: rgb(40, 39, 21); — Tailwind CSS: bg-[hsl(58,30%,12%)] — CSS variable: --color-primary: hsl(58, 30%, 12%);