#334D39

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.3% 0.046 151), rgb(51, 77, 57).

Aa

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

About this color

#334D39 is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.046 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.034 away. White text reads best on it, at 9.28:1.

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

Values

HEX#334D39
RGBrgb(51, 77, 57)
HSLhsl(134, 20%, 25%)
OKLCHoklch(39.3% 0.046 151)

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 #334D39 9.28:1 AAA Lc -95.7 Preferred for body text
Black text on #334D39 2.26:1 Fails Lc 12.6 Not readable
#334D39 text on white 9.28:1 AAA Lc 91.4 Preferred for body text
#334D39 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE6

    oklch(93.6% 0.011 149.9)

  3. Step 200

    200

    #D0DDD3

    oklch(88.5% 0.019 152.8)

  4. Step 300

    300

    #B1C7B5

    oklch(80.8% 0.035 150.7)

  5. Step 400

    400

    #88AB8F

    oklch(70.7% 0.056 150.8)

  6. Step 500

    500

    #699674

    oklch(63.1% 0.071 151.6)

  7. Step 600

    600

    #50805C

    oklch(55.5% 0.077 151.2)

  8. Step 700

    700

    #416C4C

    oklch(49% 0.07 151.3)

  9. Step 800

    800

    #36583E

    oklch(42.6% 0.059 150.8)

  10. Step 900

    900 (this color)

    #334D39

    oklch(39.3% 0.046 151)

  11. Step 950

    950

    #1C2B1F

    oklch(27.1% 0.03 150.2)

Export this scale for Tailwind in the Tailwind colors tool

#334D39 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)#4D49380.039
Deuteranopia (no green cones)#49463A0.039
Tritanopia (no blue cones)#2F4C470.024
Achromatopsia (no color)#4747470.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #334D39

    #334D39

    oklch(39.3% 0.046 151)

  • #543D51

    #543D51

    oklch(39.3% 0.045 330.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334D39

    #334D39

    oklch(39.3% 0.046 151)

  • #424A2D

    #424A2D

    oklch(39.4% 0.047 121.1)

  • #274E47

    #274E47

    oklch(39.3% 0.046 180.8)

Open the analogous palette in the generator

Split complementary

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

  • #334D39

    #334D39

    oklch(39.3% 0.046 151)

  • #4A405B

    #4A405B

    oklch(39.3% 0.047 301.3)

  • #5B3B44

    #5B3B44

    oklch(39.2% 0.047 1.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334D39

    #334D39

    oklch(39.3% 0.046 151)

  • #3C455F

    #3C455F

    oklch(39.4% 0.046 269.5)

  • #5C3C36

    #5C3C36

    oklch(39.2% 0.047 31)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334D39

    #334D39

    oklch(39.3% 0.046 151)

  • #2E495C

    #2E495C

    oklch(39.2% 0.046 240.1)

  • #543D51

    #543D51

    oklch(39.3% 0.045 330.9)

  • #58402C

    #58402C

    oklch(39.3% 0.046 60.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #334D39 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.