#2A4E40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.2% 0.048 166.9), rgb(42, 78, 64).

Aa

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

About this color

#2A4E40 is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.048 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.026 away. White text reads best on it, at 9.28:1.

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

Values

HEX#2A4E40
RGBrgb(42, 78, 64)
HSLhsl(157, 30%, 24%)
OKLCHoklch(39.2% 0.048 166.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 #2A4E40 9.28:1 AAA Lc -95.7 Preferred for body text
Black text on #2A4E40 2.26:1 Fails Lc 12.6 Not readable
#2A4E40 text on white 9.28:1 AAA Lc 91.3 Preferred for body text
#2A4E40 text on black 2.26:1 Fails Lc -11.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

    #F2F6F5

    oklch(97% 0.004 179.7)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CDDED6

    oklch(88.6% 0.021 166)

  4. Step 300

    300

    #ABC9BC

    oklch(81% 0.037 167.4)

  5. Step 400

    400

    #7EAD99

    oklch(70.8% 0.058 166.6)

  6. Step 500

    500

    #5B9880

    oklch(63.1% 0.074 167)

  7. Step 600

    600

    #3E8269

    oklch(55.5% 0.08 167.1)

  8. Step 700

    700

    #2F6E58

    oklch(49% 0.075 167.7)

  9. Step 800

    800

    #285A48

    oklch(42.7% 0.062 167.4)

  10. Step 900

    900 (this color)

    #2A4E40

    oklch(39.2% 0.048 166.9)

  11. Step 950

    950

    #172B23

    oklch(26.9% 0.03 166.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A4E40 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)#4C4A3F0.048
Deuteranopia (no green cones)#4745410.048
Tritanopia (no blue cones)#1F4E4A0.018
Achromatopsia (no color)#4747470.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4E40

    #2A4E40

    oklch(39.2% 0.048 166.9)

  • #593B4B

    #593B4B

    oklch(39.2% 0.049 346.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4E40

    #2A4E40

    oklch(39.2% 0.048 166.9)

  • #394C32

    #394C32

    oklch(39.3% 0.049 137.5)

  • #224E4E

    #224E4E

    oklch(39.3% 0.048 195.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A4E40

    #2A4E40

    oklch(39.2% 0.048 166.9)

  • #503D57

    #503D57

    oklch(39.1% 0.049 316.8)

  • #5D3B3C

    #5D3B3C

    oklch(39.2% 0.048 17.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4E40

    #2A4E40

    oklch(39.2% 0.048 166.9)

  • #44425F

    #44425F

    oklch(39.4% 0.049 287.1)

  • #5B3D2F

    #5B3D2F

    oklch(39.1% 0.048 45.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4E40

    #2A4E40

    oklch(39.2% 0.048 166.9)

  • #354760

    #354760

    oklch(39.4% 0.048 256.7)

  • #593B4B

    #593B4B

    oklch(39.2% 0.049 346.3)

  • #544227

    #544227

    oklch(39.1% 0.048 76.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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