#334C3D

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.1% 0.04 157.6), rgb(51, 76, 61).

Aa

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

About this color

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

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

Values

HEX#334C3D
RGBrgb(51, 76, 61)
HSLhsl(144, 20%, 25%)
OKLCHoklch(39.1% 0.04 157.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 #334C3D 9.36:1 AAA Lc -95.9 Preferred for body text
Black text on #334C3D 2.24:1 Fails Lc 12.4 Not readable
#334C3D text on white 9.36:1 AAA Lc 91.6 Preferred for body text
#334C3D text on black 2.24:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #D1DDD5

    oklch(88.6% 0.017 156.9)

  4. Step 300

    300

    #B1C7B9

    oklch(80.9% 0.031 157.7)

  5. Step 400

    400

    #88AA95

    oklch(70.7% 0.048 157.8)

  6. Step 500

    500

    #6A957B

    oklch(63.1% 0.061 157.6)

  7. Step 600

    600

    #517F64

    oklch(55.5% 0.066 157.6)

  8. Step 700

    700

    #416C53

    oklch(49.2% 0.063 157.6)

  9. Step 800

    800

    #365844

    oklch(42.8% 0.052 157.5)

  10. Step 900

    900 (this color)

    #334C3D

    oklch(39.1% 0.04 157.6)

  11. Step 950

    950

    #1C2A22

    oklch(26.9% 0.024 159.2)

Export this scale for Tailwind in the Tailwind colors tool

#334C3D 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)#4C483C0.038
Deuteranopia (no green cones)#47453E0.036
Tritanopia (no blue cones)#2E4C480.019
Achromatopsia (no color)#4646460.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #334C3D

    #334C3D

    oklch(39.1% 0.04 157.6)

  • #543D4D

    #543D4D

    oklch(39.1% 0.041 337.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C3D

    #334C3D

    oklch(39.1% 0.04 157.6)

  • #3F4A32

    #3F4A32

    oklch(39.2% 0.041 128.2)

  • #2B4C49

    #2B4C49

    oklch(39% 0.039 188.3)

Open the analogous palette in the generator

Split complementary

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

  • #334C3D

    #334C3D

    oklch(39.1% 0.04 157.6)

  • #4B4056

    #4B4056

    oklch(39.2% 0.039 307.3)

  • #583C41

    #583C41

    oklch(39% 0.04 7.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C3D

    #334C3D

    oklch(39.1% 0.04 157.6)

  • #40435B

    #40435B

    oklch(39% 0.041 278.8)

  • #583E36

    #583E36

    oklch(39.1% 0.039 37.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C3D

    #334C3D

    oklch(39.1% 0.04 157.6)

  • #34475A

    #34475A

    oklch(39% 0.04 248.9)

  • #543D4D

    #543D4D

    oklch(39.1% 0.041 337.9)

  • #54412E

    #54412E

    oklch(39% 0.04 66.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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