#042C1B

Closest named color: Dark Forest Green (#002D04). oklch(26.1% 0.054 160.4), rgb(4, 44, 27).

Aa

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

About this color

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

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

Values

HEX#042C1B
RGBrgb(4, 44, 27)
HSLhsl(155, 83%, 9%)
OKLCHoklch(26.1% 0.054 160.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 #042C1B 15.20:1 AAA Lc -104.7 Preferred for body text
Black text on #042C1B 1.38:1 Fails Lc 0.0 Not readable
#042C1B text on white 15.20:1 AAA Lc 101.9 Preferred for body text
#042C1B 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

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E0EEE6

    oklch(93.6% 0.018 161.1)

  3. Step 200

    200

    #C6E1D1

    oklch(88.5% 0.036 159.6)

  4. Step 300

    300

    #9DCEB3

    oklch(80.9% 0.064 160.4)

  5. Step 400

    400

    #61B48B

    oklch(70.6% 0.102 160.7)

  6. Step 500

    500

    #24A16E

    oklch(63.1% 0.131 160.5)

  7. Step 600

    600

    #00895A

    oklch(55.6% 0.125 160.5)

  8. Step 700

    700

    #00734B

    oklch(49% 0.11 160.6)

  9. Step 800

    800

    #005F3D

    oklch(42.9% 0.096 160.4)

  10. Step 900

    900

    #004F32

    oklch(37.7% 0.085 160.4)

  11. Step 950

    950 (this color)

    #042C1B

    oklch(26.1% 0.054 160.4)

Export this scale for Tailwind in the Tailwind colors tool

#042C1B 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)#2B281A0.051
Deuteranopia (no green cones)#26241C0.050
Tritanopia (no blue cones)#002C270.022
Achromatopsia (no color)#2626260.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #042C1B

    #042C1B

    oklch(26.1% 0.054 160.4)

  • #35192C

    #35192C

    oklch(26.1% 0.053 340.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042C1B

    #042C1B

    oklch(26.1% 0.054 160.4)

  • #1B290B

    #1B290B

    oklch(26% 0.053 130.4)

  • #002B29

    #002B29

    oklch(26.1% 0.045 190)

Open the analogous palette in the generator

Split complementary

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

  • #042C1B

    #042C1B

    oklch(26.1% 0.054 160.4)

  • #2C1C38

    #2C1C38

    oklch(26.1% 0.055 309.4)

  • #3A181E

    #3A181E

    oklch(26.1% 0.054 10.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042C1B

    #042C1B

    oklch(26.1% 0.054 160.4)

  • #1F203E

    #1F203E

    oklch(25.9% 0.056 280.3)

  • #3A1A0E

    #3A1A0E

    oklch(26.1% 0.055 40.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042C1B

    #042C1B

    oklch(26.1% 0.054 160.4)

  • #0D253D

    #0D253D

    oklch(25.9% 0.054 250.7)

  • #35192C

    #35192C

    oklch(26.1% 0.053 340.5)

  • #351F01

    #351F01

    oklch(26.2% 0.055 70.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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