HSL(59, 90%, 7%)

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

Color Conversions

Format Value CSS Usage
HSL hsl(59, 90%, 7%) color: hsl(59, 90%, 7%)
HEX #222102 color: #222102
RGB rgb(34, 33, 2) color: rgb(34, 33, 2)
CMYK cmyk(0%, 3%, 94%, 87%)
HSV hsv(58, 94%, 13%)
HWB hwb(58 1% 87%) color: hwb(58 1% 87%)
OKLCH oklch(0.2413 0.0489 107.8) color: oklch(0.2413 0.0489 107.8)
Lab lab(12.17 -4.53 17.12) color: lab(12.17 -4.53 17.12)
LCH lch(12.17 17.71 104.82) color: lch(12.17 17.71 104.82)

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 16.32:1
vs Black 1.29: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)

#22220A — rgb(34, 34, 10)

Deuteranopia (Green-blind)

#22220B — rgb(34, 34, 11)

Tritanopia (Blue-blind)

#220F11 — rgb(34, 15, 17)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(59, 90%, 7%);

text

color: hsl(59, 90%, 7%);

border

border: 2px solid hsl(59, 90%, 7%);

gradient light

background: linear-gradient(to right, hsl(59, 90%, 27%), hsl(59, 90%, 7%));

gradient dark

background: linear-gradient(to right, hsl(59, 90%, 7%), hsl(59, 90%, 0%))

hex

background-color: #222102;

tailwind

bg-[hsl(59,90%,7%)]

box shadow

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

css variable

--color-primary: hsl(59, 90%, 7%);

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, 90%, 7%)?

HEX: #222102 | RGB: rgb(34, 33, 2) | CMYK: 0%, 3%, 94%, 87% | HSV: 58°, 94%, 13%. Copy any format from the conversion table above.

What colors go well with #222102?

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

As HSL: color: hsl(59, 90%, 7%); — As HEX: color: #222102; — As RGB: color: rgb(34, 33, 2); — Tailwind CSS: bg-[hsl(59,90%,7%)] — CSS variable: --color-primary: hsl(59, 90%, 7%);