#334C17

Closest named color: Navy Green (#35530A). oklch(38.3% 0.084 130.9), rgb(51, 76, 23).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.18:1
White text9.60:1

Values

HEX#334C17
RGBrgb(51, 76, 23)
HSLhsl(88, 54%, 19%)
OKLCHoklch(38.3% 0.084 130.9)

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 #334C17 9.60:1 AAA Lc -96.4 Preferred for body text
Black text on #334C17 2.18:1 Fails Lc 11.8 Not readable
#334C17 text on white 9.60:1 AAA Lc 92.1 Preferred for body text
#334C17 text on black 2.18:1 Fails Lc -10.3 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

    #E6EDE0

    oklch(93.7% 0.019 130.2)

  3. Step 200

    200

    #D1DEC6

    oklch(88.4% 0.035 130.5)

  4. Step 300

    300

    #B3CA9F

    oklch(81% 0.064 130.7)

  5. Step 400

    400

    #8AAE6A

    oklch(70.7% 0.102 131.3)

  6. Step 500

    500

    #6D993F

    oklch(63.1% 0.13 131.1)

  7. Step 600

    600

    #558319

    oklch(55.6% 0.141 131)

  8. Step 700

    700

    #456F07

    oklch(49.2% 0.131 131.1)

  9. Step 800

    800

    #395A0E

    oklch(42.6% 0.108 131)

  10. Step 900

    900 (this color)

    #334C17

    oklch(38.3% 0.084 130.9)

  11. Step 950

    950

    #1D2C0E

    oklch(27.1% 0.054 131.3)

Export this scale for Tailwind in the Tailwind colors tool

#334C17 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)#5046110.047
Deuteranopia (no green cones)#4C441B0.047
Tritanopia (no blue cones)#3449410.064
Achromatopsia (no color)#4545450.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #334C17

    #334C17

    oklch(38.3% 0.084 130.9)

  • #523564

    #523564

    oklch(38.4% 0.084 311.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C17

    #334C17

    oklch(38.3% 0.084 130.9)

  • #4D4400

    #4D4400

    oklch(38.4% 0.08 100.8)

  • #035134

    #035134

    oklch(38.5% 0.085 160.6)

Open the analogous palette in the generator

Split complementary

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

  • #334C17

    #334C17

    oklch(38.3% 0.084 130.9)

  • #3C3D6F

    #3C3D6F

    oklch(38.4% 0.084 280.8)

  • #602F51

    #602F51

    oklch(38.2% 0.085 340)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C17

    #334C17

    oklch(38.3% 0.084 130.9)

  • #1C456E

    #1C456E

    oklch(38.3% 0.084 251)

  • #682E38

    #682E38

    oklch(38.3% 0.084 11.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C17

    #334C17

    oklch(38.3% 0.084 130.9)

  • #004B5D

    #004B5D

    oklch(38.2% 0.07 220.9)

  • #523564

    #523564

    oklch(38.4% 0.084 311.4)

  • #68321D

    #68321D

    oklch(38.4% 0.084 41.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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