#04170A

Closest named color: Rich Navy (#001219). oklch(18.3% 0.038 152.9), rgb(4, 23, 10).

Aa

White text reads best on this color (18.54:1).

About this color

#04170A is a very dark, muted green. In OKLCH its lightness is 18%, its chroma 0.038 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.042 away. White text reads best on it, at 18.54:1.

Hue familyGreens
Lightnessvery dark (18%)
Chromamuted (0.038)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.13:1
White text18.54:1

Values

HEX#04170A
RGBrgb(4, 23, 10)
HSLhsl(139, 70%, 5%)
OKLCHoklch(18.3% 0.038 152.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #04170A 18.54:1 AAA Lc -107.1 Preferred for body text
Black text on #04170A 1.13:1 Fails Lc 0.0 Not readable
#04170A text on white 18.54:1 AAA Lc 105.0 Preferred for body text
#04170A text on black 1.13:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CEDED1

    oklch(88.5% 0.025 151.1)

  4. Step 300

    300

    #ACC9B3

    oklch(80.8% 0.044 152.6)

  5. Step 400

    400

    #7FAE8C

    oklch(70.8% 0.071 153)

  6. Step 500

    500

    #5C9A6F

    oklch(63.2% 0.092 152.9)

  7. Step 600

    600

    #408457

    oklch(55.6% 0.099 152.9)

  8. Step 700

    700

    #317047

    oklch(49.2% 0.093 152.9)

  9. Step 800

    800

    #2A5B3A

    oklch(42.7% 0.077 152.5)

  10. Step 900

    900

    #274B32

    oklch(37.8% 0.06 152.5)

  11. Step 950

    950 (this color)

    #04170A

    oklch(18.3% 0.038 152.9)

Export this scale for Tailwind in the Tailwind colors tool

#04170A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1714090.033
Deuteranopia (no green cones)#14120B0.033
Tritanopia (no blue cones)#0117140.019
Achromatopsia (no color)#1313130.038

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #04170A

    #04170A

    oklch(18.3% 0.038 152.9)

  • #1C0C19

    #1C0C19

    oklch(18.4% 0.036 334.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04170A

    #04170A

    oklch(18.3% 0.038 152.9)

  • #0F1503

    #0F1503

    oklch(18.4% 0.037 123.9)

  • #001714

    #001714

    oklch(18.4% 0.033 183.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #04170A

    #04170A

    oklch(18.3% 0.038 152.9)

  • #160E20

    #160E20

    oklch(18.4% 0.037 303.4)

  • #200B11

    #200B11

    oklch(18.5% 0.037 3.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04170A

    #04170A

    oklch(18.3% 0.038 152.9)

  • #0D1123

    #0D1123

    oklch(18.4% 0.037 272.8)

  • #200B07

    #200B07

    oklch(18.2% 0.038 32.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04170A

    #04170A

    oklch(18.3% 0.038 152.9)

  • #031422

    #031422

    oklch(18.4% 0.038 244)

  • #1C0C19

    #1C0C19

    oklch(18.4% 0.036 334.1)

  • #1E0E02

    #1E0E02

    oklch(18.4% 0.037 60.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #04170A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #04170A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.