#2C4F40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.6% 0.048 164.9), rgb(44, 79, 64).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.048)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.29:1
White text9.13:1

Values

HEX#2C4F40
RGBrgb(44, 79, 64)
HSLhsl(154, 28%, 24%)
OKLCHoklch(39.6% 0.048 164.9)

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 #2C4F40 9.13:1 AAA Lc -95.3 Preferred for body text
Black text on #2C4F40 2.29:1 Fails Lc 13.0 Not readable
#2C4F40 text on white 9.13:1 AAA Lc 90.9 Preferred for body text
#2C4F40 text on black 2.29:1 Fails Lc -11.4 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CEDED6

    oklch(88.6% 0.02 164.5)

  4. Step 300

    300

    #ACC8BB

    oklch(80.8% 0.035 165.8)

  5. Step 400

    400

    #7FAD97

    oklch(70.8% 0.059 163.8)

  6. Step 500

    500

    #5C987E

    oklch(63.1% 0.075 164.8)

  7. Step 600

    600

    #408267

    oklch(55.5% 0.081 164.8)

  8. Step 700

    700

    #316E56

    oklch(49% 0.075 165.2)

  9. Step 800

    800

    #2A5A46

    oklch(42.8% 0.063 164.3)

  10. Step 900

    900 (this color)

    #2C4F40

    oklch(39.6% 0.048 164.9)

  11. Step 950

    950

    #172B23

    oklch(26.9% 0.03 166.8)

Export this scale for Tailwind in the Tailwind colors tool

#2C4F40 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)#4E4B3F0.048
Deuteranopia (no green cones)#4846410.047
Tritanopia (no blue cones)#234F4B0.019
Achromatopsia (no color)#4848480.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C4F40

    #2C4F40

    oklch(39.6% 0.048 164.9)

  • #5A3C4D

    #5A3C4D

    oklch(39.7% 0.049 344.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C4F40

    #2C4F40

    oklch(39.6% 0.048 164.9)

  • #3B4D32

    #3B4D32

    oklch(39.7% 0.049 135.5)

  • #234F4F

    #234F4F

    oklch(39.7% 0.049 195.4)

Open the analogous palette in the generator

Split complementary

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

  • #2C4F40

    #2C4F40

    oklch(39.6% 0.048 164.9)

  • #503F59

    #503F59

    oklch(39.6% 0.048 313.7)

  • #5E3C3E

    #5E3C3E

    oklch(39.6% 0.048 15.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C4F40

    #2C4F40

    oklch(39.6% 0.048 164.9)

  • #444360

    #444360

    oklch(39.6% 0.049 285.5)

  • #5D3E31

    #5D3E31

    oklch(39.6% 0.049 43.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C4F40

    #2C4F40

    oklch(39.6% 0.048 164.9)

  • #354860

    #354860

    oklch(39.6% 0.047 254.6)

  • #5A3C4D

    #5A3C4D

    oklch(39.7% 0.049 344.6)

  • #564328

    #564328

    oklch(39.6% 0.049 75.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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