#335A34

Closest named color: Pine (#2B5D34). oklch(42.8% 0.076 144.7), rgb(51, 90, 52).

Aa

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

About this color

#335A34 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.076 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.012 away. White text reads best on it, at 7.91:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.65:1
White text7.91:1

Values

HEX#335A34
RGBrgb(51, 90, 52)
HSLhsl(122, 28%, 28%)
OKLCHoklch(42.8% 0.076 144.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 #335A34 7.91:1 AAA Lc -92.1 Preferred for body text
Black text on #335A34 2.65:1 Fails Lc 16.7 Dividers and decoration only
#335A34 text on white 7.91:1 AAA Lc 87.3 Fine for body text
#335A34 text on black 2.65:1 Fails Lc -14.8 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 800.

  1. Step 50

    50

    #F3F6F3

    oklch(97% 0.005 145.5)

  2. Step 100

    100

    #E5ECE5

    oklch(93.6% 0.012 145.5)

  3. Step 200

    200

    #D0DECF

    oklch(88.6% 0.025 143.5)

  4. Step 300

    300

    #B0C9AF

    oklch(81% 0.045 144.1)

  5. Step 400

    400

    #85AD85

    oklch(70.7% 0.072 144.8)

  6. Step 500

    500

    #669867

    oklch(63.1% 0.09 144.9)

  7. Step 600

    600

    #4C824E

    oklch(55.5% 0.098 144.9)

  8. Step 700

    700

    #3D6E3F

    oklch(49.1% 0.091 144.9)

  9. Step 800

    800 (this color)

    #335A34

    oklch(42.8% 0.076 144.7)

  10. Step 900

    900

    #2D4A2D

    oklch(37.7% 0.06 144.3)

  11. Step 950

    950

    #1B2B1B

    oklch(26.9% 0.036 144.5)

Export this scale for Tailwind in the Tailwind colors tool

#335A34 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)#5B54310.057
Deuteranopia (no green cones)#5650360.057
Tritanopia (no blue cones)#2E58510.047
Achromatopsia (no color)#5151510.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A34

    #335A34

    oklch(42.8% 0.076 144.7)

  • #644066

    #644066

    oklch(42.8% 0.076 325)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A34

    #335A34

    oklch(42.8% 0.076 144.7)

  • #4E541E

    #4E541E

    oklch(42.8% 0.076 115)

  • #0E5C4C

    #0E5C4C

    oklch(42.6% 0.076 174.6)

Open the analogous palette in the generator

Split complementary

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

  • #335A34

    #335A34

    oklch(42.8% 0.076 144.7)

  • #524674

    #524674

    oklch(42.7% 0.076 295)

  • #6F3D51

    #6F3D51

    oklch(42.8% 0.075 355.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A34

    #335A34

    oklch(42.8% 0.076 144.7)

  • #3A4E79

    #3A4E79

    oklch(42.8% 0.076 264.4)

  • #733D3A

    #733D3A

    oklch(42.7% 0.076 24.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A34

    #335A34

    oklch(42.8% 0.076 144.7)

  • #1B5573

    #1B5573

    oklch(42.7% 0.077 235.5)

  • #644066

    #644066

    oklch(42.8% 0.076 325)

  • #6F4323

    #6F4323

    oklch(42.8% 0.076 55)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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