#042704

Closest named color: Dark Forest Green (#002D04). oklch(23.9% 0.073 142.9), rgb(4, 39, 4).

Aa

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

About this color

#042704 is a very dark, moderately saturated green. In OKLCH its lightness is 24%, its chroma 0.073 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.022 away. White text reads best on it, at 16.18:1.

Hue familyGreens
Lightnessvery dark (24%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.29:1
White text16.18:1

Values

HEX#042704
RGBrgb(4, 39, 4)
HSLhsl(120, 81%, 8%)
OKLCHoklch(23.9% 0.073 142.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 #042704 16.18:1 AAA Lc -105.5 Preferred for body text
Black text on #042704 1.29:1 Fails Lc 0.0 Not readable
#042704 text on white 16.18:1 AAA Lc 102.9 Preferred for body text
#042704 text on black 1.29: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

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E1EEDF

    oklch(93.5% 0.024 141.5)

  3. Step 200

    200

    #C8E2C5

    oklch(88.6% 0.048 142.3)

  4. Step 300

    300

    #A0CF9D

    oklch(80.8% 0.085 143.2)

  5. Step 400

    400

    #69B665

    oklch(70.7% 0.138 142.9)

  6. Step 500

    500

    #39A337

    oklch(63.2% 0.176 142.9)

  7. Step 600

    600

    #008C09

    oklch(55.5% 0.186 142.9)

  8. Step 700

    700

    #007606

    oklch(49% 0.165 142.9)

  9. Step 800

    800

    #006104

    oklch(42.7% 0.144 142.9)

  10. Step 900

    900

    #0F500F

    oklch(37.8% 0.115 142.9)

  11. Step 950

    950 (this color)

    #042704

    oklch(23.9% 0.073 142.9)

Export this scale for Tailwind in the Tailwind colors tool

#042704 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)#2822010.052
Deuteranopia (no green cones)#241F070.053
Tritanopia (no blue cones)#0026200.046
Achromatopsia (no color)#2121210.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #042704

    #042704

    oklch(23.9% 0.073 142.9)

  • #2F1032

    #2F1032

    oklch(23.8% 0.073 324)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042704

    #042704

    oklch(23.9% 0.073 142.9)

  • #1F2100

    #1F2100

    oklch(23.8% 0.053 113)

  • #00261D

    #00261D

    oklch(23.9% 0.046 173)

Open the analogous palette in the generator

Split complementary

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

  • #042704

    #042704

    oklch(23.9% 0.073 142.9)

  • #21163E

    #21163E

    oklch(23.9% 0.073 292.7)

  • #370C22

    #370C22

    oklch(23.8% 0.073 352.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042704

    #042704

    oklch(23.9% 0.073 142.9)

  • #0B1D41

    #0B1D41

    oklch(24% 0.073 262.4)

  • #3B0C0E

    #3B0C0E

    oklch(23.9% 0.074 22.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042704

    #042704

    oklch(23.9% 0.073 142.9)

  • #002232

    #002232

    oklch(23.7% 0.049 233.4)

  • #2F1032

    #2F1032

    oklch(23.8% 0.073 324)

  • #341500

    #341500

    oklch(23.8% 0.06 53.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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