#335A3B

Closest named color: Pine (#2B5D34). oklch(42.9% 0.068 149.4), rgb(51, 90, 59).

Aa

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

About this color

#335A3B is a dark, muted green. In OKLCH its lightness is 43%, its chroma 0.068 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.019 away. White text reads best on it, at 7.87:1.

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.068)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.66:1
White text7.87:1

Values

HEX#335A3B
RGBrgb(51, 90, 59)
HSLhsl(132, 28%, 28%)
OKLCHoklch(42.9% 0.068 149.4)

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 #335A3B 7.87:1 AAA Lc -91.9 Preferred for body text
Black text on #335A3B 2.66:1 Fails Lc 16.8 Dividers and decoration only
#335A3B text on white 7.87:1 AAA Lc 87.2 Fine for body text
#335A3B text on black 2.66:1 Fails Lc -14.9 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

    #E5ECE6

    oklch(93.6% 0.011 149.9)

  3. Step 200

    200

    #D0DDD1

    oklch(88.4% 0.021 147.6)

  4. Step 300

    300

    #B0C8B3

    oklch(80.9% 0.039 148.8)

  5. Step 400

    400

    #85AC8B

    oklch(70.7% 0.064 149.1)

  6. Step 500

    500

    #66976F

    oklch(63% 0.08 149.4)

  7. Step 600

    600

    #4C8257

    oklch(55.7% 0.088 149.4)

  8. Step 700

    700

    #3C6E47

    oklch(49.2% 0.083 149.6)

  9. Step 800

    800 (this color)

    #335A3B

    oklch(42.9% 0.068 149.4)

  10. Step 900

    900

    #2D4A32

    oklch(37.9% 0.054 148.8)

  11. Step 950

    950

    #1A2B1E

    oklch(27% 0.033 151.1)

Export this scale for Tailwind in the Tailwind colors tool

#335A3B 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)#5B54390.057
Deuteranopia (no green cones)#55503D0.056
Tritanopia (no blue cones)#2D59520.037
Achromatopsia (no color)#5151510.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A3B

    #335A3B

    oklch(42.9% 0.068 149.4)

  • #644262

    #644262

    oklch(43% 0.067 328.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A3B

    #335A3B

    oklch(42.9% 0.068 149.4)

  • #4B5528

    #4B5528

    oklch(42.9% 0.068 119.7)

  • #195C51

    #195C51

    oklch(43% 0.068 179.7)

Open the analogous palette in the generator

Split complementary

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

  • #335A3B

    #335A3B

    oklch(42.9% 0.068 149.4)

  • #554770

    #554770

    oklch(43% 0.068 299.2)

  • #6E3F4E

    #6E3F4E

    oklch(42.9% 0.068 359.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A3B

    #335A3B

    oklch(42.9% 0.068 149.4)

  • #414E75

    #414E75

    oklch(43% 0.067 269.4)

  • #704139

    #704139

    oklch(42.9% 0.067 30.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A3B

    #335A3B

    oklch(42.9% 0.068 149.4)

  • #285471

    #285471

    oklch(42.8% 0.069 239.9)

  • #644262

    #644262

    oklch(43% 0.067 328.7)

  • #6B4627

    #6B4627

    oklch(42.9% 0.068 59.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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