#334F3D

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.9% 0.046 155.6), rgb(51, 79, 61).

Aa

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

About this color

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

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

Values

HEX#334F3D
RGBrgb(51, 79, 61)
HSLhsl(141, 22%, 25%)
OKLCHoklch(39.9% 0.046 155.6)

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 #334F3D 9.02:1 AAA Lc -95.1 Preferred for body text
Black text on #334F3D 2.32:1 Fails Lc 13.3 Not readable
#334F3D text on white 9.02:1 AAA Lc 90.7 Preferred for body text
#334F3D 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

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #D0DDD4

    oklch(88.5% 0.019 155.8)

  4. Step 300

    300

    #B0C8B7

    oklch(81% 0.035 154.7)

  5. Step 400

    400

    #86AB92

    oklch(70.7% 0.054 155.2)

  6. Step 500

    500

    #669677

    oklch(63% 0.07 155.5)

  7. Step 600

    600

    #4D8160

    oklch(55.7% 0.076 155.2)

  8. Step 700

    700

    #3D6D4F

    oklch(49.2% 0.072 155.3)

  9. Step 800

    800

    #335941

    oklch(42.8% 0.059 155.3)

  10. Step 900

    900 (this color)

    #334F3D

    oklch(39.9% 0.046 155.6)

  11. Step 950

    950

    #1B2B20

    oklch(27.1% 0.03 154)

Export this scale for Tailwind in the Tailwind colors tool

#334F3D 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)#4F4B3C0.042
Deuteranopia (no green cones)#4A483E0.039
Tritanopia (no blue cones)#2E4E4A0.023
Achromatopsia (no color)#4949490.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F3D

    #334F3D

    oklch(39.9% 0.046 155.6)

  • #573E51

    #573E51

    oklch(39.9% 0.046 335.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F3D

    #334F3D

    oklch(39.9% 0.046 155.6)

  • #424C31

    #424C31

    oklch(40% 0.045 124.9)

  • #28504B

    #28504B

    oklch(40% 0.046 185.1)

Open the analogous palette in the generator

Split complementary

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

  • #334F3D

    #334F3D

    oklch(39.9% 0.046 155.6)

  • #4D415B

    #4D415B

    oklch(39.8% 0.045 305.5)

  • #5D3D44

    #5D3D44

    oklch(39.9% 0.046 5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F3D

    #334F3D

    oklch(39.9% 0.046 155.6)

  • #404660

    #404660

    oklch(40% 0.045 274.2)

  • #5D3F37

    #5D3F37

    oklch(39.9% 0.045 35.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F3D

    #334F3D

    oklch(39.9% 0.046 155.6)

  • #334A5F

    #334A5F

    oklch(39.9% 0.046 246.8)

  • #573E51

    #573E51

    oklch(39.9% 0.046 335.3)

  • #59432D

    #59432D

    oklch(40.1% 0.046 65.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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