#334C20

Closest named color: Navy Green (#35530A). oklch(38.5% 0.075 133.3), rgb(51, 76, 32).

Aa

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

About this color

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

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

Values

HEX#334C20
RGBrgb(51, 76, 32)
HSLhsl(94, 41%, 21%)
OKLCHoklch(38.5% 0.075 133.3)

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 #334C20 9.56:1 AAA Lc -96.3 Preferred for body text
Black text on #334C20 2.19:1 Fails Lc 11.9 Not readable
#334C20 text on white 9.56:1 AAA Lc 92.1 Preferred for body text
#334C20 text on black 2.19: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

    #E6ECE1

    oklch(93.5% 0.016 130.4)

  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

    #8AAD73

    oklch(70.7% 0.09 133.5)

  6. Step 500

    500

    #6D984D

    oklch(63% 0.114 133.3)

  7. Step 600

    600

    #54822F

    oklch(55.5% 0.124 133.5)

  8. Step 700

    700

    #456E21

    oklch(49.1% 0.116 133.2)

  9. Step 800

    800

    #395A1D

    oklch(42.8% 0.097 133.2)

  10. Step 900

    900 (this color)

    #334C20

    oklch(38.5% 0.075 133.3)

  11. Step 950

    950

    #1D2B12

    oklch(26.9% 0.047 132.8)

Export this scale for Tailwind in the Tailwind colors tool

#334C20 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)#4F461C0.045
Deuteranopia (no green cones)#4B44230.045
Tritanopia (no blue cones)#3349420.055
Achromatopsia (no color)#4545450.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #334C20

    #334C20

    oklch(38.5% 0.075 133.3)

  • #523760

    #523760

    oklch(38.6% 0.075 313.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C20

    #334C20

    oklch(38.5% 0.075 133.3)

  • #4B450A

    #4B450A

    oklch(38.5% 0.075 103.2)

  • #105038

    #105038

    oklch(38.5% 0.075 163.1)

Open the analogous palette in the generator

Split complementary

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

  • #334C20

    #334C20

    oklch(38.5% 0.075 133.3)

  • #3F3D6A

    #3F3D6A

    oklch(38.4% 0.075 284.3)

  • #5F324E

    #5F324E

    oklch(38.5% 0.076 343.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C20

    #334C20

    oklch(38.5% 0.075 133.3)

  • #25456B

    #25456B

    oklch(38.5% 0.075 253.9)

  • #653138

    #653138

    oklch(38.4% 0.075 12.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C20

    #334C20

    oklch(38.5% 0.075 133.3)

  • #004B5F

    #004B5F

    oklch(38.3% 0.072 223.3)

  • #523760

    #523760

    oklch(38.6% 0.075 313.5)

  • #643521

    #643521

    oklch(38.4% 0.074 43.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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