#334F3A

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.9% 0.049 151.5), rgb(51, 79, 58).

Aa

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

About this color

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

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

Values

HEX#334F3A
RGBrgb(51, 79, 58)
HSLhsl(135, 22%, 25%)
OKLCHoklch(39.9% 0.049 151.5)

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 #334F3A 9.05:1 AAA Lc -95.1 Preferred for body text
Black text on #334F3A 2.32:1 Fails Lc 13.2 Not readable
#334F3A text on white 9.05:1 AAA Lc 90.8 Preferred for body text
#334F3A text on black 2.32:1 Fails Lc -11.6 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

    #D0DDD2

    oklch(88.5% 0.02 150.1)

  4. Step 300

    300

    #B0C8B5

    oklch(80.9% 0.037 151.6)

  5. Step 400

    400

    #86AC8E

    oklch(70.8% 0.06 151)

  6. Step 500

    500

    #679773

    oklch(63.2% 0.075 151.6)

  7. Step 600

    600

    #4D815B

    oklch(55.6% 0.081 151.6)

  8. Step 700

    700

    #3E6D4B

    oklch(49.1% 0.075 151.7)

  9. Step 800

    800

    #33593D

    oklch(42.7% 0.064 151.4)

  10. Step 900

    900 (this color)

    #334F3A

    oklch(39.9% 0.049 151.5)

  11. Step 950

    950

    #1B2B1F

    oklch(27.1% 0.031 151.7)

Export this scale for Tailwind in the Tailwind colors tool

#334F3A 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)#4F4B390.042
Deuteranopia (no green cones)#4B473B0.043
Tritanopia (no blue cones)#2F4E490.026
Achromatopsia (no color)#4949490.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F3A

    #334F3A

    oklch(39.9% 0.049 151.5)

  • #573E53

    #573E53

    oklch(39.9% 0.048 332.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F3A

    #334F3A

    oklch(39.9% 0.049 151.5)

  • #434C2D

    #434C2D

    oklch(40% 0.05 121.9)

  • #265049

    #265049

    oklch(39.9% 0.049 181.6)

Open the analogous palette in the generator

Split complementary

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

  • #334F3A

    #334F3A

    oklch(39.9% 0.049 151.5)

  • #4C415E

    #4C415E

    oklch(39.9% 0.05 301.6)

  • #5E3C45

    #5E3C45

    oklch(39.9% 0.05 2.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F3A

    #334F3A

    oklch(39.9% 0.049 151.5)

  • #3E4662

    #3E4662

    oklch(39.9% 0.049 271.8)

  • #5F3D37

    #5F3D37

    oklch(39.8% 0.049 30.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F3A

    #334F3A

    oklch(39.9% 0.049 151.5)

  • #2F4B5F

    #2F4B5F

    oklch(39.9% 0.048 240.6)

  • #573E53

    #573E53

    oklch(39.9% 0.048 332.1)

  • #5B412B

    #5B412B

    oklch(39.8% 0.05 60.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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