#334A34

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.3% 0.047 145.7), rgb(51, 74, 52).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (38%)
Chromamuted (0.047)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.16:1
White text9.67:1

Values

HEX#334A34
RGBrgb(51, 74, 52)
HSLhsl(123, 18%, 25%)
OKLCHoklch(38.3% 0.047 145.7)

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 #334A34 9.67:1 AAA Lc -96.6 Preferred for body text
Black text on #334A34 2.16:1 Fails Lc 11.6 Not readable
#334A34 text on white 9.67:1 AAA Lc 92.4 Preferred for body text
#334A34 text on black 2.16:1 Fails Lc -10.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

    #F3F6F3

    oklch(97% 0.005 145.5)

  2. Step 100

    100

    #E6ECE6

    oklch(93.7% 0.01 145.5)

  3. Step 200

    200

    #D1DDD2

    oklch(88.5% 0.02 147.8)

  4. Step 300

    300

    #B3C7B3

    oklch(80.9% 0.035 145.2)

  5. Step 400

    400

    #8BAA8C

    oklch(70.6% 0.055 145.8)

  6. Step 500

    500

    #6E956F

    oklch(63% 0.071 145.3)

  7. Step 600

    600

    #558057

    oklch(55.7% 0.079 145.5)

  8. Step 700

    700

    #456C47

    oklch(49.2% 0.073 145.6)

  9. Step 800

    800

    #39583B

    oklch(42.7% 0.06 146)

  10. Step 900

    900 (this color)

    #334A34

    oklch(38.3% 0.047 145.7)

  11. Step 950

    950

    #1D2A1E

    oklch(26.9% 0.028 146.7)

Export this scale for Tailwind in the Tailwind colors tool

#334A34 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)#4B46330.038
Deuteranopia (no green cones)#4743350.037
Tritanopia (no blue cones)#3149440.028
Achromatopsia (no color)#4444440.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #334A34

    #334A34

    oklch(38.3% 0.047 145.7)

  • #503B51

    #503B51

    oklch(38.4% 0.046 324.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334A34

    #334A34

    oklch(38.3% 0.047 145.7)

  • #424629

    #424629

    oklch(38.2% 0.046 115)

  • #264B42

    #264B42

    oklch(38.2% 0.046 176.1)

Open the analogous palette in the generator

Split complementary

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

  • #334A34

    #334A34

    oklch(38.3% 0.047 145.7)

  • #453E5A

    #453E5A

    oklch(38.3% 0.048 295.5)

  • #573944

    #573944

    oklch(38.3% 0.046 355.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334A34

    #334A34

    oklch(38.3% 0.047 145.7)

  • #37435C

    #37435C

    oklch(38.3% 0.046 264.5)

  • #5A3936

    #5A3936

    oklch(38.3% 0.048 25.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334A34

    #334A34

    oklch(38.3% 0.047 145.7)

  • #294759

    #294759

    oklch(38.3% 0.047 236.2)

  • #503B51

    #503B51

    oklch(38.4% 0.046 324.9)

  • #573D2B

    #573D2B

    oklch(38.4% 0.047 55.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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