#042004

Closest named color: Dark Forest Green (#002D04). oklch(21.4% 0.062 143), rgb(4, 32, 4).

Aa

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

About this color

#042004 is a very dark, muted green. In OKLCH its lightness is 21%, its chroma 0.062 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.049 away. White text reads best on it, at 17.30:1.

Hue familyGreens
Lightnessvery dark (21%)
Chromamuted (0.062)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.21:1
White text17.30:1

Values

HEX#042004
RGBrgb(4, 32, 4)
HSLhsl(120, 78%, 7%)
OKLCHoklch(21.4% 0.062 143)

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 #042004 17.30:1 AAA Lc -106.3 Preferred for body text
Black text on #042004 1.21:1 Fails Lc 0.0 Not readable
#042004 text on white 17.30:1 AAA Lc 104.0 Preferred for body text
#042004 text on black 1.21: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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #CAE1C8

    oklch(88.6% 0.042 143)

  4. Step 300

    300

    #A5CDA2

    oklch(80.8% 0.073 143.1)

  5. Step 400

    400

    #73B36F

    oklch(70.6% 0.117 142.9)

  6. Step 500

    500

    #4AA047

    oklch(63.2% 0.151 142.9)

  7. Step 600

    600

    #268A26

    oklch(55.6% 0.164 143)

  8. Step 700

    700

    #167518

    oklch(49.1% 0.152 143)

  9. Step 800

    800

    #175F17

    oklch(42.6% 0.126 143)

  10. Step 900

    900

    #1B4E1A

    oklch(37.6% 0.098 143)

  11. Step 950

    950 (this color)

    #042004

    oklch(21.4% 0.062 143)

Export this scale for Tailwind in the Tailwind colors tool

#042004 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)#211C020.045
Deuteranopia (no green cones)#1D1A060.043
Tritanopia (no blue cones)#011F1A0.039
Achromatopsia (no color)#1B1B1B0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #042004

    #042004

    oklch(21.4% 0.062 143)

  • #260D29

    #260D29

    oklch(21.3% 0.062 323.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042004

    #042004

    oklch(21.4% 0.062 143)

  • #1A1B00

    #1A1B00

    oklch(21.4% 0.047 111.7)

  • #001F17

    #001F17

    oklch(21.3% 0.041 172.5)

Open the analogous palette in the generator

Split complementary

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

  • #042004

    #042004

    oklch(21.4% 0.062 143)

  • #1B1233

    #1B1233

    oklch(21.4% 0.063 292.9)

  • #2E0A1C

    #2E0A1C

    oklch(21.5% 0.063 352.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042004

    #042004

    oklch(21.4% 0.062 143)

  • #091735

    #091735

    oklch(21.2% 0.062 263.3)

  • #300A0B

    #300A0B

    oklch(21.3% 0.062 22.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042004

    #042004

    oklch(21.4% 0.062 143)

  • #001C2A

    #001C2A

    oklch(21.3% 0.044 233.4)

  • #260D29

    #260D29

    oklch(21.3% 0.062 323.2)

  • #2C1100

    #2C1100

    oklch(21.5% 0.054 53.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #042004 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.