HSL(60, 90%, 7%)

Very Dark Yellow — Yellow color

Adjust Color

Color Information

Color Name

Very Dark Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

3500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(60, 90%, 7%) color: hsl(60, 90%, 7%)
HEX #222202 color: #222202
RGB rgb(34, 34, 2) color: rgb(34, 34, 2)
CMYK cmyk(0%, 0%, 94%, 87%)
HSV hsv(60, 94%, 13%)
HWB hwb(60 1% 87%) color: hwb(60 1% 87%)
OKLCH oklch(0.2442 0.0501 109.6) color: oklch(0.2442 0.0501 109.6)
Lab lab(12.54 -5.2 17.62) color: lab(12.54 -5.2 17.62)
LCH lch(12.54 18.37 106.44) color: lch(12.54 18.37 106.44)

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.18:1
vs Black 1.3: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)

#22220C — rgb(34, 34, 12)

Tritanopia (Blue-blind)

#221011 — rgb(34, 16, 17)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #222202;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(60, 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(60, 90%, 7%)?

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

What colors go well with #222202?

The complementary color is HSL(240, 90%, 7%). For a triadic harmony, use hues 60°, 180°, and 300°. For analogous combinations, try hues 30° and 90°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(60, 90%, 7%) in CSS?

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