#3A4D40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40% 0.032 154.8), rgb(58, 77, 64).

Aa

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

About this color

#3A4D40 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.032 and its hue 155°. 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.06:1.

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

Values

HEX#3A4D40
RGBrgb(58, 77, 64)
HSLhsl(139, 14%, 26%)
OKLCHoklch(40% 0.032 154.8)

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 #3A4D40 9.06:1 AAA Lc -95.2 Preferred for body text
Black text on #3A4D40 2.31:1 Fails Lc 13.1 Not readable
#3A4D40 text on white 9.06:1 AAA Lc 90.8 Preferred for body text
#3A4D40 text on black 2.31:1 Fails Lc -11.5 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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E6EBE8

    oklch(93.5% 0.007 160.1)

  3. Step 200

    200

    #D3DCD5

    oklch(88.6% 0.014 152.6)

  4. Step 300

    300

    #B5C5BA

    oklch(80.8% 0.023 155.8)

  5. Step 400

    400

    #8EA896

    oklch(70.6% 0.039 155.1)

  6. Step 500

    500

    #72937C

    oklch(63.1% 0.05 154.4)

  7. Step 600

    600

    #5A7D65

    oklch(55.6% 0.054 154.4)

  8. Step 700

    700

    #4A6954

    oklch(49% 0.049 154.6)

  9. Step 800

    800

    #3D5645

    oklch(42.7% 0.041 154.6)

  10. Step 900

    900 (this color)

    #3A4D40

    oklch(40% 0.032 154.8)

  11. Step 950

    950

    #1F2922

    oklch(26.9% 0.019 154.4)

Export this scale for Tailwind in the Tailwind colors tool

#3A4D40 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)#4D4A3F0.029
Deuteranopia (no green cones)#4A48410.029
Tritanopia (no blue cones)#374D490.015
Achromatopsia (no color)#4949490.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4D40

    #3A4D40

    oklch(40% 0.032 154.8)

  • #53414F

    #53414F

    oklch(40% 0.033 334.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4D40

    #3A4D40

    oklch(40% 0.032 154.8)

  • #444B38

    #444B38

    oklch(40.1% 0.032 124.3)

  • #344E4A

    #344E4A

    oklch(40.2% 0.032 184.1)

Open the analogous palette in the generator

Split complementary

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

  • #3A4D40

    #3A4D40

    oklch(40% 0.032 154.8)

  • #4C4356

    #4C4356

    oklch(39.9% 0.033 306.4)

  • #574145

    #574145

    oklch(40% 0.031 6.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4D40

    #3A4D40

    oklch(40% 0.032 154.8)

  • #424759

    #424759

    oklch(40.1% 0.031 272.8)

  • #58423C

    #58423C

    oklch(40.1% 0.032 35.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4D40

    #3A4D40

    oklch(40% 0.032 154.8)

  • #394A58

    #394A58

    oklch(40% 0.032 243.5)

  • #53414F

    #53414F

    oklch(40% 0.033 334.1)

  • #544435

    #544435

    oklch(39.9% 0.033 64.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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