HSL(58, 20%, 5%)

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,20%,5%)]

Color Conversions

Format Value CSS Usage
HSL hsl(58, 20%, 5%) color: hsl(58, 20%, 5%)
HEX #0F0F0A color: #0F0F0A
RGB rgb(15, 15, 10) color: rgb(15, 15, 10)
CMYK cmyk(0%, 0%, 33%, 94%)
HSV hsv(60, 33%, 6%)
HWB hwb(60 4% 94%) color: hwb(60 4% 94%)
OKLCH oklch(0.1665 0.01 107.44) color: oklch(0.1665 0.01 107.44)
Lab lab(4.2 -0.8 2.17) color: lab(4.2 -0.8 2.17)
LCH lch(4.2 2.31 110.24) color: lch(4.2 2.31 110.24)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 19.21:1
vs Black 1.09:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#0F0F0B — rgb(15, 15, 11)

Deuteranopia (Green-blind)

#0F0F0C — rgb(15, 15, 12)

Tritanopia (Blue-blind)

#0F0C0C — rgb(15, 12, 12)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(58, 20%, 5%);

text

color: hsl(58, 20%, 5%);

border

border: 2px solid hsl(58, 20%, 5%);

gradient light

background: linear-gradient(to right, hsl(58, 20%, 25%), hsl(58, 20%, 5%));

gradient dark

background: linear-gradient(to right, hsl(58, 20%, 5%), hsl(58, 20%, 0%))

hex

background-color: #0F0F0A;

tailwind

bg-[hsl(58,20%,5%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(58, 20%, 5%, 0.4);

css variable

--color-primary: hsl(58, 20%, 5%);

Related Colors

Use Cases for Very Dark Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(58, 20%, 5%)?

HEX: #0F0F0A | RGB: rgb(15, 15, 10) | CMYK: 0%, 0%, 33%, 94% | HSV: 60°, 33%, 6%. Copy any format from the conversion table above.

What colors go well with #0F0F0A?

The complementary color is HSL(238, 20%, 5%). 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, 20%, 5%) in CSS?

As HSL: color: hsl(58, 20%, 5%); — As HEX: color: #0F0F0A; — As RGB: color: rgb(15, 15, 10); — Tailwind CSS: bg-[hsl(58,20%,5%)] — CSS variable: --color-primary: hsl(58, 20%, 5%);