#042D0E

Closest named color: Dark Forest Green (#002D04). oklch(26.1% 0.071 147.6), rgb(4, 45, 14).

Aa

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

About this color

#042D0E is a dark, moderately saturated green. In OKLCH its lightness is 26%, its chroma 0.071 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.013 away. White text reads best on it, at 15.14:1.

Hue familyGreens
Lightnessdark (26%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.38:1
White text15.14:1

Values

HEX#042D0E
RGBrgb(4, 45, 14)
HSLhsl(135, 84%, 10%)
OKLCHoklch(26.1% 0.071 147.6)

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 #042D0E 15.14:1 AAA Lc -104.6 Preferred for body text
Black text on #042D0E 1.38:1 Fails Lc 0.0 Not readable
#042D0E text on white 15.14:1 AAA Lc 101.8 Preferred for body text
#042D0E text on black 1.38: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

    #E0EFE1

    oklch(93.7% 0.024 147.3)

  3. Step 200

    200

    #C6E2C8

    oklch(88.5% 0.046 147.2)

  4. Step 300

    300

    #9CD0A2

    oklch(80.9% 0.084 147.8)

  5. Step 400

    400

    #61B76F

    oklch(70.7% 0.134 147.7)

  6. Step 500

    500

    #23A446

    oklch(63.1% 0.172 147.5)

  7. Step 600

    600

    #008B34

    oklch(55.5% 0.162 147.6)

  8. Step 700

    700

    #00752A

    oklch(49% 0.144 147.5)

  9. Step 800

    800

    #006021

    oklch(42.6% 0.125 147.5)

  10. Step 900

    900

    #00501A

    oklch(37.6% 0.11 147.5)

  11. Step 950

    950 (this color)

    #042D0E

    oklch(26.1% 0.071 147.6)

Export this scale for Tailwind in the Tailwind colors tool

#042D0E 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)#2E280B0.056
Deuteranopia (no green cones)#2925100.055
Tritanopia (no blue cones)#002C260.041
Achromatopsia (no color)#2626260.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #042D0E

    #042D0E

    oklch(26.1% 0.071 147.6)

  • #361636

    #361636

    oklch(26.2% 0.071 327.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042D0E

    #042D0E

    oklch(26.1% 0.071 147.6)

  • #222800

    #222800

    oklch(26.2% 0.061 118)

  • #002C24

    #002C24

    oklch(26.2% 0.049 177)

Open the analogous palette in the generator

Split complementary

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

  • #042D0E

    #042D0E

    oklch(26.1% 0.071 147.6)

  • #291B42

    #291B42

    oklch(26.2% 0.071 297.8)

  • #3E1324

    #3E1324

    oklch(26.2% 0.07 358.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042D0E

    #042D0E

    oklch(26.1% 0.071 147.6)

  • #152146

    #152146

    oklch(26% 0.071 267.7)

  • #401310

    #401310

    oklch(26% 0.071 26.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042D0E

    #042D0E

    oklch(26.1% 0.071 147.6)

  • #00283C

    #00283C

    oklch(26.2% 0.057 236.2)

  • #361636

    #361636

    oklch(26.2% 0.071 327.4)

  • #3A1B00

    #3A1B00

    oklch(26.1% 0.063 57.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #042D0E 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.