#042A0B

Closest named color: Dark Forest Green (#002D04). oklch(25% 0.069 146.4), rgb(4, 42, 11).

Aa

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

About this color

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

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

Values

HEX#042A0B
RGBrgb(4, 42, 11)
HSLhsl(131, 83%, 9%)
OKLCHoklch(25% 0.069 146.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 #042A0B 15.65:1 AAA Lc -105.0 Preferred for body text
Black text on #042A0B 1.34:1 Fails Lc 0.0 Not readable
#042A0B text on white 15.65:1 AAA Lc 102.3 Preferred for body text
#042A0B 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

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E0EEE1

    oklch(93.5% 0.023 147.4)

  3. Step 200

    200

    #C7E2C8

    oklch(88.6% 0.045 146.2)

  4. Step 300

    300

    #9ECFA1

    oklch(80.8% 0.082 146.3)

  5. Step 400

    400

    #65B66E

    oklch(70.6% 0.131 146.5)

  6. Step 500

    500

    #2FA345

    oklch(63.1% 0.168 146.3)

  7. Step 600

    600

    #008C2E

    oklch(55.7% 0.168 146.5)

  8. Step 700

    700

    #007525

    oklch(49% 0.148 146.5)

  9. Step 800

    800

    #00601D

    oklch(42.6% 0.128 146.5)

  10. Step 900

    900

    #065019

    oklch(37.7% 0.11 146.4)

  11. Step 950

    950 (this color)

    #042A0B

    oklch(25% 0.069 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#042A0B 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)#2B25080.054
Deuteranopia (no green cones)#26220E0.053
Tritanopia (no blue cones)#0029230.041
Achromatopsia (no color)#2323230.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #042A0B

    #042A0B

    oklch(25% 0.069 146.4)

  • #321433

    #321433

    oklch(25.1% 0.069 326.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042A0B

    #042A0B

    oklch(25% 0.069 146.4)

  • #202500

    #202500

    oklch(25.1% 0.058 117.1)

  • #002921

    #002921

    oklch(25.1% 0.047 176.1)

Open the analogous palette in the generator

Split complementary

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

  • #042A0B

    #042A0B

    oklch(25% 0.069 146.4)

  • #25193E

    #25193E

    oklch(25% 0.068 296.1)

  • #3A1022

    #3A1022

    oklch(24.9% 0.07 356.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042A0B

    #042A0B

    oklch(25% 0.069 146.4)

  • #121F43

    #121F43

    oklch(25% 0.07 266.5)

  • #3D110F

    #3D110F

    oklch(25.1% 0.07 26)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042A0B

    #042A0B

    oklch(25% 0.069 146.4)

  • #002538

    #002538

    oklch(25% 0.054 236.4)

  • #321433

    #321433

    oklch(25.1% 0.069 326.2)

  • #371800

    #371800

    oklch(25% 0.061 55.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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