HSL(59, 20%, 13%)

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(59,20%,13%)]

Color Conversions

Format Value CSS Usage
HSL hsl(59, 20%, 13%) color: hsl(59, 20%, 13%)
HEX #28281B color: #28281B
RGB rgb(40, 40, 27) color: rgb(40, 40, 27)
CMYK cmyk(0%, 0%, 33%, 84%)
HSV hsv(60, 33%, 16%)
HWB hwb(60 11% 84%) color: hwb(60 11% 84%)
OKLCH oklch(0.2726 0.0227 107.82) color: oklch(0.2726 0.0227 107.82)
Lab lab(15.74 -2.74 8.59) color: lab(15.74 -2.74 8.59)
LCH lch(15.74 9.02 107.69) color: lch(15.74 9.02 107.69)

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 14.9:1
vs Black 1.41: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)

#28281E — rgb(40, 40, 30)

Deuteranopia (Green-blind)

#28281F — rgb(40, 40, 31)

Tritanopia (Blue-blind)

#282121 — rgb(40, 33, 33)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(59, 20%, 13%);

text

color: hsl(59, 20%, 13%);

border

border: 2px solid hsl(59, 20%, 13%);

gradient light

background: linear-gradient(to right, hsl(59, 20%, 33%), hsl(59, 20%, 13%));

gradient dark

background: linear-gradient(to right, hsl(59, 20%, 13%), hsl(59, 20%, 0%))

hex

background-color: #28281B;

tailwind

bg-[hsl(59,20%,13%)]

box shadow

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

css variable

--color-primary: hsl(59, 20%, 13%);

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(59, 20%, 13%)?

HEX: #28281B | RGB: rgb(40, 40, 27) | CMYK: 0%, 0%, 33%, 84% | HSV: 60°, 33%, 16%. Copy any format from the conversion table above.

What colors go well with #28281B?

The complementary color is HSL(239, 20%, 13%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(59, 20%, 13%) in CSS?

As HSL: color: hsl(59, 20%, 13%); — As HEX: color: #28281B; — As RGB: color: rgb(40, 40, 27); — Tailwind CSS: bg-[hsl(59,20%,13%)] — CSS variable: --color-primary: hsl(59, 20%, 13%);