#3A4E40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.3% 0.034 154.1), rgb(58, 78, 64).

Aa

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

About this color

#3A4E40 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.034 and its hue 154°. 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 8.96:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.034)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.34:1
White text8.96:1

Values

HEX#3A4E40
RGBrgb(58, 78, 64)
HSLhsl(138, 15%, 27%)
OKLCHoklch(40.3% 0.034 154.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 #3A4E40 8.96:1 AAA Lc -95.0 Preferred for body text
Black text on #3A4E40 2.34:1 Fails Lc 13.4 Not readable
#3A4E40 text on white 8.96:1 AAA Lc 90.5 Preferred for body text
#3A4E40 text on black 2.34:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E7EBE8

    oklch(93.6% 0.006 153.8)

  3. Step 200

    200

    #D4DBD6

    oklch(88.5% 0.01 155.1)

  4. Step 300

    300

    #B7C5BB

    oklch(81% 0.021 154.8)

  5. Step 400

    400

    #92A798

    oklch(70.8% 0.032 154.4)

  6. Step 500

    500

    #77917E

    oklch(63.1% 0.041 153.4)

  7. Step 600

    600

    #5F7B68

    oklch(55.5% 0.044 155.1)

  8. Step 700

    700

    #4F6856

    oklch(49.2% 0.041 153.4)

  9. Step 800

    800 (this color)

    #3A4E40

    oklch(40.3% 0.034 154.1)

  10. Step 900

    900

    #37463B

    oklch(37.7% 0.027 153.2)

  11. Step 950

    950

    #202923

    oklch(27% 0.017 155.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A4E40 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.031
Deuteranopia (no green cones)#4B48410.031
Tritanopia (no blue cones)#374D4A0.018
Achromatopsia (no color)#4949490.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4E40

    #3A4E40

    oklch(40.3% 0.034 154.1)

  • #544250

    #544250

    oklch(40.3% 0.033 334.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4E40

    #3A4E40

    oklch(40.3% 0.034 154.1)

  • #444C37

    #444C37

    oklch(40.3% 0.035 124.9)

  • #334F4A

    #334F4A

    oklch(40.4% 0.035 182.1)

Open the analogous palette in the generator

Split complementary

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

  • #3A4E40

    #3A4E40

    oklch(40.3% 0.034 154.1)

  • #4C4458

    #4C4458

    oklch(40.3% 0.035 303.1)

  • #594146

    #594146

    oklch(40.3% 0.034 4.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4E40

    #3A4E40

    oklch(40.3% 0.034 154.1)

  • #42475B

    #42475B

    oklch(40.2% 0.034 273.8)

  • #59423C

    #59423C

    oklch(40.2% 0.034 35.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4E40

    #3A4E40

    oklch(40.3% 0.034 154.1)

  • #394B5A

    #394B5A

    oklch(40.4% 0.034 243.9)

  • #544250

    #544250

    oklch(40.3% 0.033 334.1)

  • #564535

    #564535

    oklch(40.4% 0.035 64.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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