HSL(49, 52%, 2%)

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(49,52%,2%)]

Color Conversions

Format Value CSS Usage
HSL hsl(49, 52%, 2%) color: hsl(49, 52%, 2%)
HEX #080702 color: #080702
RGB rgb(8, 7, 2) color: rgb(8, 7, 2)
CMYK cmyk(0%, 13%, 75%, 97%)
HSV hsv(50, 75%, 3%)
HWB hwb(50 1% 97%) color: hwb(50 1% 97%)
OKLCH oklch(0.1272 0.0169 101.37) color: oklch(0.1272 0.0169 101.37)
Lab lab(1.88 -0.43 1.98) color: lab(1.88 -0.43 1.98)
LCH lch(1.88 2.03 102.25) color: lch(1.88 2.03 102.25)

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 20.16:1
vs Black 1.04: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)

#080803 — rgb(8, 8, 3)

Deuteranopia (Green-blind)

#080804 — rgb(8, 8, 4)

Tritanopia (Blue-blind)

#080404 — rgb(8, 4, 4)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(49, 52%, 2%);

text

color: hsl(49, 52%, 2%);

border

border: 2px solid hsl(49, 52%, 2%);

gradient light

background: linear-gradient(to right, hsl(49, 52%, 22%), hsl(49, 52%, 2%));

gradient dark

background: linear-gradient(to right, hsl(49, 52%, 2%), hsl(49, 52%, 0%))

hex

background-color: #080702;

tailwind

bg-[hsl(49,52%,2%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(49, 52%, 2%, 0.4);

css variable

--color-primary: hsl(49, 52%, 2%);

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(49, 52%, 2%)?

HEX: #080702 | RGB: rgb(8, 7, 2) | CMYK: 0%, 13%, 75%, 97% | HSV: 50°, 75%, 3%. Copy any format from the conversion table above.

What colors go well with #080702?

The complementary color is HSL(229, 52%, 2%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(49, 52%, 2%) in CSS?

As HSL: color: hsl(49, 52%, 2%); — As HEX: color: #080702; — As RGB: color: rgb(8, 7, 2); — Tailwind CSS: bg-[hsl(49,52%,2%)] — CSS variable: --color-primary: hsl(49, 52%, 2%);