HSL(46, 63%, 9%)

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(46,63%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(46, 63%, 9%) color: hsl(46, 63%, 9%)
HEX #251F08 color: #251F08
RGB rgb(37, 31, 8) color: rgb(37, 31, 8)
CMYK cmyk(0%, 16%, 78%, 85%)
HSV hsv(48, 78%, 15%)
HWB hwb(48 3% 85%) color: hwb(48 3% 85%)
OKLCH oklch(0.2402 0.0381 94.82) color: oklch(0.2402 0.0381 94.82)
Lab lab(11.9 -0.77 14.36) color: lab(11.9 -0.77 14.36)
LCH lch(11.9 14.38 93.07) color: lch(11.9 14.38 93.07)

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.43:1
vs Black 1.28: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)

#22220E — rgb(34, 34, 14)

Deuteranopia (Green-blind)

#23230F — rgb(35, 35, 15)

Tritanopia (Blue-blind)

#251213 — rgb(37, 18, 19)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(46, 63%, 9%);

text

color: hsl(46, 63%, 9%);

border

border: 2px solid hsl(46, 63%, 9%);

gradient light

background: linear-gradient(to right, hsl(46, 63%, 29%), hsl(46, 63%, 9%));

gradient dark

background: linear-gradient(to right, hsl(46, 63%, 9%), hsl(46, 63%, 0%))

hex

background-color: #251F08;

tailwind

bg-[hsl(46,63%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(46, 63%, 9%, 0.4);

css variable

--color-primary: hsl(46, 63%, 9%);

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(46, 63%, 9%)?

HEX: #251F08 | RGB: rgb(37, 31, 8) | CMYK: 0%, 16%, 78%, 85% | HSV: 48°, 78%, 15%. Copy any format from the conversion table above.

What colors go well with #251F08?

The complementary color is HSL(226, 63%, 9%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(46, 63%, 9%) in CSS?

As HSL: color: hsl(46, 63%, 9%); — As HEX: color: #251F08; — As RGB: color: rgb(37, 31, 8); — Tailwind CSS: bg-[hsl(46,63%,9%)] — CSS variable: --color-primary: hsl(46, 63%, 9%);