#2A4D40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.9% 0.047 168.1), rgb(42, 77, 64).

Aa

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

About this color

#2A4D40 is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.047 and its hue 168°. 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.40:1.

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

Values

HEX#2A4D40
RGBrgb(42, 77, 64)
HSLhsl(158, 29%, 23%)
OKLCHoklch(38.9% 0.047 168.1)

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 #2A4D40 9.40:1 AAA Lc -95.9 Preferred for body text
Black text on #2A4D40 2.23:1 Fails Lc 12.3 Not readable
#2A4D40 text on white 9.40:1 AAA Lc 91.6 Preferred for body text
#2A4D40 text on black 2.23:1 Fails Lc -10.7 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

    #CEDDD7

    oklch(88.5% 0.018 170)

  4. Step 300

    300

    #ACC8BC

    oklch(80.9% 0.035 167.7)

  5. Step 400

    400

    #7EAC9A

    oklch(70.6% 0.056 168.6)

  6. Step 500

    500

    #5C9881

    oklch(63.2% 0.072 167.7)

  7. Step 600

    600

    #40826B

    oklch(55.6% 0.077 168.4)

  8. Step 700

    700

    #316E59

    oklch(49.1% 0.072 168.2)

  9. Step 800

    800

    #2A5A49

    oklch(42.8% 0.06 168)

  10. Step 900

    900 (this color)

    #2A4D40

    oklch(38.9% 0.047 168.1)

  11. Step 950

    950

    #172B24

    oklch(26.9% 0.029 169.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A4D40 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)#4B493F0.047
Deuteranopia (no green cones)#4645410.045
Tritanopia (no blue cones)#204D490.017
Achromatopsia (no color)#4646460.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4D40

    #2A4D40

    oklch(38.9% 0.047 168.1)

  • #583B49

    #583B49

    oklch(39% 0.046 349)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4D40

    #2A4D40

    oklch(38.9% 0.047 168.1)

  • #384B32

    #384B32

    oklch(38.9% 0.048 138.3)

  • #234D4E

    #234D4E

    oklch(39.1% 0.047 197.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A4D40

    #2A4D40

    oklch(38.9% 0.047 168.1)

  • #4F3D55

    #4F3D55

    oklch(38.9% 0.046 317.6)

  • #5B3B3B

    #5B3B3B

    oklch(39% 0.046 19.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4D40

    #2A4D40

    oklch(38.9% 0.047 168.1)

  • #43415D

    #43415D

    oklch(38.9% 0.047 287.3)

  • #5A3D2F

    #5A3D2F

    oklch(38.9% 0.047 46.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4D40

    #2A4D40

    oklch(38.9% 0.047 168.1)

  • #35465E

    #35465E

    oklch(39% 0.046 257)

  • #583B49

    #583B49

    oklch(39% 0.046 349)

  • #534227

    #534227

    oklch(39% 0.047 78.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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