#04240F

Closest named color: Dark Forest Green (#002D04). oklch(23% 0.055 151.4), rgb(4, 36, 15).

Aa

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

About this color

#04240F is a very dark, muted green. In OKLCH its lightness is 23%, its chroma 0.055 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.040 away. White text reads best on it, at 16.60:1.

Hue familyGreens
Lightnessvery dark (23%)
Chromamuted (0.055)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.26:1
White text16.60:1

Values

HEX#04240F
RGBrgb(4, 36, 15)
HSLhsl(141, 80%, 8%)
OKLCHoklch(23% 0.055 151.4)

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 #04240F 16.60:1 AAA Lc -105.8 Preferred for body text
Black text on #04240F 1.26:1 Fails Lc 0.0 Not readable
#04240F text on white 16.60:1 AAA Lc 103.4 Preferred for body text
#04240F text on black 1.26: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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE4

    oklch(93.7% 0.019 152.8)

  3. Step 200

    200

    #C9E0CD

    oklch(88.4% 0.036 150.5)

  4. Step 300

    300

    #A2CDAC

    oklch(80.8% 0.065 151.8)

  5. Step 400

    400

    #6DB37F

    oklch(70.6% 0.104 151.2)

  6. Step 500

    500

    #3FA05F

    oklch(63.2% 0.133 151.5)

  7. Step 600

    600

    #0D8A45

    oklch(55.6% 0.144 151.5)

  8. Step 700

    700

    #007538

    oklch(49.2% 0.131 151.5)

  9. Step 800

    800

    #055F2D

    oklch(42.6% 0.111 151.4)

  10. Step 900

    900

    #144E29

    oklch(37.7% 0.086 151.6)

  11. Step 950

    950 (this color)

    #04240F

    oklch(23% 0.055 151.4)

Export this scale for Tailwind in the Tailwind colors tool

#04240F 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)#24200D0.046
Deuteranopia (no green cones)#201D100.046
Tritanopia (no blue cones)#00231F0.030
Achromatopsia (no color)#1E1E1E0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #04240F

    #04240F

    oklch(23% 0.055 151.4)

  • #2B1229

    #2B1229

    oklch(23% 0.056 330.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04240F

    #04240F

    oklch(23% 0.055 151.4)

  • #192100

    #192100

    oklch(23.1% 0.056 121.9)

  • #00231E

    #00231E

    oklch(23% 0.041 181.3)

Open the analogous palette in the generator

Split complementary

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

  • #04240F

    #04240F

    oklch(23% 0.055 151.4)

  • #221632

    #221632

    oklch(23.1% 0.054 302.1)

  • #31101B

    #31101B

    oklch(23% 0.055 1.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04240F

    #04240F

    oklch(23% 0.055 151.4)

  • #141B37

    #141B37

    oklch(23.2% 0.055 271)

  • #32110C

    #32110C

    oklch(22.9% 0.055 30.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04240F

    #04240F

    oklch(23% 0.055 151.4)

  • #001F34

    #001F34

    oklch(22.9% 0.055 242.3)

  • #2B1229

    #2B1229

    oklch(23% 0.056 330.2)

  • #2E1600

    #2E1600

    oklch(23% 0.053 61.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04240F 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.