#2C4D40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39% 0.045 167), rgb(44, 77, 64).

Aa

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

About this color

#2C4D40 is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.045 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.025 away. White text reads best on it, at 9.36:1.

Hue familyGreens
Lightnessdark (39%)
Chromamuted (0.045)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.24:1
White text9.36:1

Values

HEX#2C4D40
RGBrgb(44, 77, 64)
HSLhsl(156, 27%, 24%)
OKLCHoklch(39% 0.045 167)

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 #2C4D40 9.36:1 AAA Lc -95.9 Preferred for body text
Black text on #2C4D40 2.24:1 Fails Lc 12.4 Not readable
#2C4D40 text on white 9.36:1 AAA Lc 91.6 Preferred for body text
#2C4D40 text on black 2.24:1 Fails Lc -10.8 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CEDDD6

    oklch(88.4% 0.019 166.3)

  4. Step 300

    300

    #ADC8BC

    oklch(80.9% 0.034 166.9)

  5. Step 400

    400

    #80AC99

    oklch(70.7% 0.055 166.4)

  6. Step 500

    500

    #5F9781

    oklch(63.1% 0.068 167.4)

  7. Step 600

    600

    #43816A

    oklch(55.5% 0.075 167.4)

  8. Step 700

    700

    #346D58

    oklch(49% 0.07 167.1)

  9. Step 800

    800

    #2C5948

    oklch(42.6% 0.058 167)

  10. Step 900

    900 (this color)

    #2C4D40

    oklch(39% 0.045 167)

  11. Step 950

    950

    #182B23

    oklch(27% 0.029 165.8)

Export this scale for Tailwind in the Tailwind colors tool

#2C4D40 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)#4C493F0.046
Deuteranopia (no green cones)#4645410.043
Tritanopia (no blue cones)#234D490.017
Achromatopsia (no color)#4747470.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C4D40

    #2C4D40

    oklch(39% 0.045 167)

  • #573B4A

    #573B4A

    oklch(39% 0.046 346.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C4D40

    #2C4D40

    oklch(39% 0.045 167)

  • #3A4B33

    #3A4B33

    oklch(39.1% 0.045 136.8)

  • #254D4D

    #254D4D

    oklch(39.1% 0.045 195.5)

Open the analogous palette in the generator

Split complementary

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

  • #2C4D40

    #2C4D40

    oklch(39% 0.045 167)

  • #4F3E55

    #4F3E55

    oklch(39.1% 0.044 317.2)

  • #5B3B3C

    #5B3B3C

    oklch(39% 0.046 17.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C4D40

    #2C4D40

    oklch(39% 0.045 167)

  • #43425C

    #43425C

    oklch(39.1% 0.044 285.9)

  • #593E30

    #593E30

    oklch(39% 0.044 48.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C4D40

    #2C4D40

    oklch(39% 0.045 167)

  • #36465D

    #36465D

    oklch(39% 0.044 257.4)

  • #573B4A

    #573B4A

    oklch(39% 0.046 346.1)

  • #534229

    #534229

    oklch(39.1% 0.045 76.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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