#042E1B

Closest named color: Very Dark Green (#062E03). oklch(26.7% 0.058 158.7), rgb(4, 46, 27).

Aa

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

About this color

#042E1B is a dark, muted green. In OKLCH its lightness is 27%, its chroma 0.058 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.032 away. White text reads best on it, at 14.87:1.

Hue familyGreens
Lightnessdark (27%)
Chromamuted (0.058)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.41:1
White text14.87:1

Values

HEX#042E1B
RGBrgb(4, 46, 27)
HSLhsl(153, 84%, 10%)
OKLCHoklch(26.7% 0.058 158.7)

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 #042E1B 14.87:1 AAA Lc -104.3 Preferred for body text
Black text on #042E1B 1.41:1 Fails Lc 0.0 Not readable
#042E1B text on white 14.87:1 AAA Lc 101.5 Preferred for body text
#042E1B text on black 1.41: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

    #DFEEE5

    oklch(93.5% 0.02 159.7)

  3. Step 200

    200

    #C5E1D0

    oklch(88.4% 0.038 158.9)

  4. Step 300

    300

    #9BCFB1

    oklch(81% 0.069 159.1)

  5. Step 400

    400

    #5EB587

    oklch(70.6% 0.109 158.7)

  6. Step 500

    500

    #1AA269

    oklch(63% 0.139 158.7)

  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

    #004F30

    oklch(37.7% 0.087 158.9)

  11. Step 950

    950 (this color)

    #042E1B

    oklch(26.7% 0.058 158.7)

Export this scale for Tailwind in the Tailwind colors tool

#042E1B 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)#2D2A1A0.052
Deuteranopia (no green cones)#28261C0.051
Tritanopia (no blue cones)#002E290.025
Achromatopsia (no color)#2727270.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #042E1B

    #042E1B

    oklch(26.7% 0.058 158.7)

  • #381A2F

    #381A2F

    oklch(26.9% 0.057 339.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042E1B

    #042E1B

    oklch(26.7% 0.058 158.7)

  • #1D2B09

    #1D2B09

    oklch(26.7% 0.058 128.8)

  • #002D2A

    #002D2A

    oklch(26.8% 0.047 187.9)

Open the analogous palette in the generator

Split complementary

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

  • #042E1B

    #042E1B

    oklch(26.7% 0.058 158.7)

  • #2E1D3B

    #2E1D3B

    oklch(26.7% 0.058 309.1)

  • #3D1820

    #3D1820

    oklch(26.7% 0.059 8.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042E1B

    #042E1B

    oklch(26.7% 0.058 158.7)

  • #202241

    #202241

    oklch(26.7% 0.057 279)

  • #3D1B0F

    #3D1B0F

    oklch(26.8% 0.057 39.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042E1B

    #042E1B

    oklch(26.7% 0.058 158.7)

  • #0B2740

    #0B2740

    oklch(26.6% 0.058 248.7)

  • #381A2F

    #381A2F

    oklch(26.9% 0.057 339.6)

  • #382001

    #382001

    oklch(26.9% 0.057 68.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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