#334C1F

Closest named color: Navy Green (#35530A). oklch(38.4% 0.076 133), rgb(51, 76, 31).

Aa

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

About this color

#334C1F is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.076 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.033 away. White text reads best on it, at 9.57:1.

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

Values

HEX#334C1F
RGBrgb(51, 76, 31)
HSLhsl(93, 42%, 21%)
OKLCHoklch(38.4% 0.076 133)

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

    #B2C9A3

    oklch(80.8% 0.058 133.1)

  5. Step 400

    400

    #8AAD72

    oklch(70.7% 0.091 133.2)

  6. Step 500

    500

    #6D984B

    oklch(63% 0.117 132.9)

  7. Step 600

    600

    #55822C

    oklch(55.5% 0.126 132.7)

  8. Step 700

    700

    #456E1F

    oklch(49.1% 0.117 132.9)

  9. Step 800

    800

    #395A1C

    oklch(42.8% 0.098 133)

  10. Step 900

    900 (this color)

    #334C1F

    oklch(38.4% 0.076 133)

  11. Step 950

    950

    #1D2B12

    oklch(26.9% 0.047 132.8)

Export this scale for Tailwind in the Tailwind colors tool

#334C1F 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)#4F461B0.045
Deuteranopia (no green cones)#4B44220.045
Tritanopia (no blue cones)#3349420.057
Achromatopsia (no color)#4545450.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #334C1F

    #334C1F

    oklch(38.4% 0.076 133)

  • #523760

    #523760

    oklch(38.6% 0.075 313.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C1F

    #334C1F

    oklch(38.4% 0.076 133)

  • #4B4508

    #4B4508

    oklch(38.5% 0.076 103.4)

  • #0E5038

    #0E5038

    oklch(38.5% 0.076 163.4)

Open the analogous palette in the generator

Split complementary

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

  • #334C1F

    #334C1F

    oklch(38.4% 0.076 133)

  • #3E3D6B

    #3E3D6B

    oklch(38.4% 0.077 283.1)

  • #5F324E

    #5F324E

    oklch(38.5% 0.076 343.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C1F

    #334C1F

    oklch(38.4% 0.076 133)

  • #24456B

    #24456B

    oklch(38.5% 0.076 253.3)

  • #663138

    #663138

    oklch(38.5% 0.076 13)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C1F

    #334C1F

    oklch(38.4% 0.076 133)

  • #004B5F

    #004B5F

    oklch(38.3% 0.072 223.3)

  • #523760

    #523760

    oklch(38.6% 0.075 313.5)

  • #653520

    #653520

    oklch(38.6% 0.076 43.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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