#042B19

Closest named color: Dark Forest Green (#002D04). oklch(25.7% 0.055 158.6), rgb(4, 43, 25).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (26%)
Chromamuted (0.055)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.36:1
White text15.38:1

Values

HEX#042B19
RGBrgb(4, 43, 25)
HSLhsl(152, 83%, 9%)
OKLCHoklch(25.7% 0.055 158.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 #042B19 15.38:1 AAA Lc -104.8 Preferred for body text
Black text on #042B19 1.36:1 Fails Lc 0.0 Not readable
#042B19 text on white 15.38:1 AAA Lc 102.1 Preferred for body text
#042B19 text on black 1.36: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

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E0EEE5

    oklch(93.6% 0.019 157.9)

  3. Step 200

    200

    #C6E1D0

    oklch(88.5% 0.037 157.9)

  4. Step 300

    300

    #9DCEB1

    oklch(80.9% 0.066 158.6)

  5. Step 400

    400

    #63B488

    oklch(70.6% 0.104 158.5)

  6. Step 500

    500

    #28A16B

    oklch(63.1% 0.133 158.8)

  7. Step 600

    600

    #008956

    oklch(55.5% 0.129 158.6)

  8. Step 700

    700

    #007348

    oklch(49% 0.113 158.9)

  9. Step 800

    800

    #005F3A

    oklch(42.8% 0.099 158.5)

  10. Step 900

    900

    #014F30

    oklch(37.7% 0.087 158.8)

  11. Step 950

    950 (this color)

    #042B19

    oklch(25.7% 0.055 158.6)

Export this scale for Tailwind in the Tailwind colors tool

#042B19 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)#2A27180.050
Deuteranopia (no green cones)#26231A0.051
Tritanopia (no blue cones)#002B260.023
Achromatopsia (no color)#2525250.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #042B19

    #042B19

    oklch(25.7% 0.055 158.6)

  • #34182C

    #34182C

    oklch(25.7% 0.054 338.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042B19

    #042B19

    oklch(25.7% 0.055 158.6)

  • #1B2808

    #1B2808

    oklch(25.6% 0.055 128.5)

  • #002A27

    #002A27

    oklch(25.7% 0.045 187.5)

Open the analogous palette in the generator

Split complementary

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

  • #042B19

    #042B19

    oklch(25.7% 0.055 158.6)

  • #2B1B37

    #2B1B37

    oklch(25.6% 0.055 309.3)

  • #39171E

    #39171E

    oklch(25.8% 0.054 8.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042B19

    #042B19

    oklch(25.7% 0.055 158.6)

  • #1E203D

    #1E203D

    oklch(25.8% 0.054 278.9)

  • #39190E

    #39190E

    oklch(25.7% 0.054 39.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042B19

    #042B19

    oklch(25.7% 0.055 158.6)

  • #0A253C

    #0A253C

    oklch(25.7% 0.054 247.6)

  • #34182C

    #34182C

    oklch(25.7% 0.054 338.9)

  • #341D01

    #341D01

    oklch(25.6% 0.055 67.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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