#2D3E31

Closest named color: Onyx (#343A40). oklch(34.5% 0.032 151.7), rgb(45, 62, 49).

Aa

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

About this color

#2D3E31 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.032 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.036 away. White text reads best on it, at 11.38:1.

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.032)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.84:1
White text11.38:1

Values

HEX#2D3E31
RGBrgb(45, 62, 49)
HSLhsl(134, 16%, 21%)
OKLCHoklch(34.5% 0.032 151.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 #2D3E31 11.38:1 AAA Lc -100.0 Preferred for body text
Black text on #2D3E31 1.84:1 Fails Lc 7.6 Not readable
#2D3E31 text on white 11.38:1 AAA Lc 96.2 Preferred for body text
#2D3E31 text on black 1.84: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 900.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE7

    oklch(93.6% 0.007 145.5)

  3. Step 200

    200

    #D3DCD5

    oklch(88.6% 0.014 152.6)

  4. Step 300

    300

    #B6C5B9

    oklch(80.8% 0.023 151.6)

  5. Step 400

    400

    #90A895

    oklch(70.8% 0.038 151.4)

  6. Step 500

    500

    #74927B

    oklch(63% 0.048 151.9)

  7. Step 600

    600

    #5C7C64

    oklch(55.5% 0.052 152.1)

  8. Step 700

    700

    #4C6953

    oklch(49.1% 0.049 151.7)

  9. Step 800

    800

    #3E5644

    oklch(42.8% 0.042 152.1)

  10. Step 900

    900 (this color)

    #2D3E31

    oklch(34.5% 0.032 151.7)

  11. Step 950

    950

    #1F2922

    oklch(26.9% 0.019 154.4)

Export this scale for Tailwind in the Tailwind colors tool

#2D3E31 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)#3E3B300.027
Deuteranopia (no green cones)#3B39320.027
Tritanopia (no blue cones)#2B3D3A0.017
Achromatopsia (no color)#3A3A3A0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3E31

    #2D3E31

    oklch(34.5% 0.032 151.7)

  • #433341

    #433341

    oklch(34.4% 0.032 330.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3E31

    #2D3E31

    oklch(34.5% 0.032 151.7)

  • #363C29

    #363C29

    oklch(34.5% 0.033 122.3)

  • #263F3A

    #263F3A

    oklch(34.6% 0.032 180.3)

Open the analogous palette in the generator

Split complementary

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

  • #2D3E31

    #2D3E31

    oklch(34.5% 0.032 151.7)

  • #3C3547

    #3C3547

    oklch(34.4% 0.032 302.5)

  • #473238

    #473238

    oklch(34.3% 0.032 0.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3E31

    #2D3E31

    oklch(34.5% 0.032 151.7)

  • #33384A

    #33384A

    oklch(34.4% 0.032 272.5)

  • #48332F

    #48332F

    oklch(34.4% 0.031 30.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3E31

    #2D3E31

    oklch(34.5% 0.032 151.7)

  • #2A3B48

    #2A3B48

    oklch(34.3% 0.032 241.7)

  • #433341

    #433341

    oklch(34.4% 0.032 330.5)

  • #453628

    #453628

    oklch(34.5% 0.032 64.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D3E31 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.