#042A0F

Closest named color: Dark Forest Green (#002D04). oklch(25.1% 0.065 149), rgb(4, 42, 15).

Aa

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

About this color

#042A0F is a dark, muted green. In OKLCH its lightness is 25%, its chroma 0.065 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.020 away. White text reads best on it, at 15.63:1.

Hue familyGreens
Lightnessdark (25%)
Chromamuted (0.065)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.34:1
White text15.63:1

Values

HEX#042A0F
RGBrgb(4, 42, 15)
HSLhsl(137, 83%, 9%)
OKLCHoklch(25.1% 0.065 149)

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 #042A0F 15.63:1 AAA Lc -105.0 Preferred for body text
Black text on #042A0F 1.34:1 Fails Lc 0.0 Not readable
#042A0F text on white 15.63:1 AAA Lc 102.3 Preferred for body text
#042A0F text on black 1.34: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

    #E0EEE2

    oklch(93.5% 0.022 149.7)

  3. Step 200

    200

    #C7E2CA

    oklch(88.6% 0.043 148.4)

  4. Step 300

    300

    #9ECFA6

    oklch(80.9% 0.077 149.3)

  5. Step 400

    400

    #65B675

    oklch(70.8% 0.124 148.9)

  6. Step 500

    500

    #2EA351

    oklch(63.2% 0.158 149.1)

  7. Step 600

    600

    #008B3B

    oklch(55.6% 0.156 149.2)

  8. Step 700

    700

    #007530

    oklch(49.1% 0.138 149)

  9. Step 800

    800

    #006026

    oklch(42.7% 0.12 149)

  10. Step 900

    900

    #065020

    oklch(37.8% 0.103 148.9)

  11. Step 950

    950 (this color)

    #042A0F

    oklch(25.1% 0.065 149)

Export this scale for Tailwind in the Tailwind colors tool

#042A0F 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)#2A250D0.052
Deuteranopia (no green cones)#2622110.053
Tritanopia (no blue cones)#0029240.037
Achromatopsia (no color)#2323230.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #042A0F

    #042A0F

    oklch(25.1% 0.065 149)

  • #321531

    #321531

    oklch(25.1% 0.064 328.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042A0F

    #042A0F

    oklch(25.1% 0.065 149)

  • #1F2500

    #1F2500

    oklch(25% 0.058 118.4)

  • #002922

    #002922

    oklch(25.1% 0.046 178.2)

Open the analogous palette in the generator

Split complementary

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

  • #042A0F

    #042A0F

    oklch(25.1% 0.065 149)

  • #27193C

    #27193C

    oklch(25.1% 0.065 300.2)

  • #391221

    #391221

    oklch(25% 0.065 358.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042A0F

    #042A0F

    oklch(25.1% 0.065 149)

  • #151F41

    #151F41

    oklch(25.1% 0.066 269)

  • #3B130E

    #3B130E

    oklch(25% 0.065 29.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042A0F

    #042A0F

    oklch(25.1% 0.065 149)

  • #00253A

    #00253A

    oklch(25.2% 0.057 239)

  • #321531

    #321531

    oklch(25.1% 0.064 328.6)

  • #361900

    #361900

    oklch(25% 0.06 58.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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