#334D21

Closest named color: Navy Green (#35530A). oklch(38.8% 0.076 134), rgb(51, 77, 33).

Aa

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

About this color

#334D21 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.076 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.032 away. White text reads best on it, at 9.44:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.22:1
White text9.44:1

Values

HEX#334D21
RGBrgb(51, 77, 33)
HSLhsl(95, 40%, 22%)
OKLCHoklch(38.8% 0.076 134)

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 #334D21 9.44:1 AAA Lc -96.0 Preferred for body text
Black text on #334D21 2.22:1 Fails Lc 12.2 Not readable
#334D21 text on white 9.44:1 AAA Lc 91.7 Preferred for body text
#334D21 text on black 2.22:1 Fails Lc -10.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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5ECE1

    oklch(93.5% 0.016 133.8)

  3. Step 200

    200

    #D1DEC9

    oklch(88.5% 0.032 133.3)

  4. Step 300

    300

    #B2C9A4

    oklch(80.9% 0.057 133.7)

  5. Step 400

    400

    #89AD73

    oklch(70.6% 0.09 134.1)

  6. Step 500

    500

    #6C994D

    oklch(63.2% 0.117 133.9)

  7. Step 600

    600

    #53832F

    oklch(55.7% 0.126 134)

  8. Step 700

    700

    #436E21

    oklch(49% 0.117 134)

  9. Step 800

    800

    #385A1E

    oklch(42.7% 0.096 133.9)

  10. Step 900

    900 (this color)

    #334D21

    oklch(38.8% 0.076 134)

  11. Step 950

    950

    #1C2B12

    oklch(26.8% 0.048 134)

Export this scale for Tailwind in the Tailwind colors tool

#334D21 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)#50471D0.046
Deuteranopia (no green cones)#4C45240.046
Tritanopia (no blue cones)#334A430.055
Achromatopsia (no color)#4646460.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #334D21

    #334D21

    oklch(38.8% 0.076 134)

  • #533761

    #533761

    oklch(38.7% 0.077 313.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334D21

    #334D21

    oklch(38.8% 0.076 134)

  • #4B460B

    #4B460B

    oklch(38.7% 0.076 104.3)

  • #0F5139

    #0F5139

    oklch(38.8% 0.076 163.5)

Open the analogous palette in the generator

Split complementary

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

  • #334D21

    #334D21

    oklch(38.8% 0.076 134)

  • #403E6B

    #403E6B

    oklch(38.8% 0.075 284.3)

  • #60334E

    #60334E

    oklch(38.8% 0.075 344.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334D21

    #334D21

    oklch(38.8% 0.076 134)

  • #26466C

    #26466C

    oklch(38.9% 0.075 253.8)

  • #673238

    #673238

    oklch(38.9% 0.076 14.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334D21

    #334D21

    oklch(38.8% 0.076 134)

  • #004C61

    #004C61

    oklch(38.7% 0.073 224.2)

  • #533761

    #533761

    oklch(38.7% 0.077 313.8)

  • #653621

    #653621

    oklch(38.8% 0.075 44.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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