#335B31

Closest named color: Pine (#2B5D34). oklch(43% 0.081 143), rgb(51, 91, 49).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.68:1
White text7.83:1

Values

HEX#335B31
RGBrgb(51, 91, 49)
HSLhsl(117, 30%, 27%)
OKLCHoklch(43% 0.081 143)

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 #335B31 7.83:1 AAA Lc -91.8 Preferred for body text
Black text on #335B31 2.68:1 Fails Lc 17.0 Dividers and decoration only
#335B31 text on white 7.83:1 AAA Lc 87.1 Fine for body text
#335B31 text on black 2.68:1 Fails Lc -15.1 Dividers and decoration only

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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E5ECE4

    oklch(93.6% 0.013 141.8)

  3. Step 200

    200

    #CFDECE

    oklch(88.5% 0.027 143.6)

  4. Step 300

    300

    #AFC9AD

    oklch(80.9% 0.048 143.2)

  5. Step 400

    400

    #85AD82

    oklch(70.7% 0.075 143)

  6. Step 500

    500

    #659962

    oklch(63.2% 0.098 143.1)

  7. Step 600

    600

    #4B8349

    oklch(55.6% 0.105 143.3)

  8. Step 700

    700

    #3C6F3A

    oklch(49.2% 0.099 143.1)

  9. Step 800

    800 (this color)

    #335B31

    oklch(43% 0.081 143)

  10. Step 900

    900

    #2C4A2B

    oklch(37.6% 0.063 143.5)

  11. Step 950

    950

    #1A2B19

    oklch(26.8% 0.04 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#335B31 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)#5D542E0.061
Deuteranopia (no green cones)#5750340.061
Tritanopia (no blue cones)#2F59510.051
Achromatopsia (no color)#5252520.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #335B31

    #335B31

    oklch(43% 0.081 143)

  • #654069

    #654069

    oklch(43% 0.08 323.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335B31

    #335B31

    oklch(43% 0.081 143)

  • #505418

    #505418

    oklch(42.9% 0.081 113)

  • #045E4B

    #045E4B

    oklch(43% 0.082 172.5)

Open the analogous palette in the generator

Split complementary

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

  • #335B31

    #335B31

    oklch(43% 0.081 143)

  • #524778

    #524778

    oklch(43.1% 0.08 293.1)

  • #713C54

    #713C54

    oklch(43% 0.08 352.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335B31

    #335B31

    oklch(43% 0.081 143)

  • #384F7C

    #384F7C

    oklch(43.1% 0.08 262.9)

  • #763C3A

    #763C3A

    oklch(42.9% 0.082 23.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335B31

    #335B31

    oklch(43% 0.081 143)

  • #125775

    #125775

    oklch(43.1% 0.081 232.7)

  • #654069

    #654069

    oklch(43% 0.08 323.4)

  • #724221

    #724221

    oklch(43% 0.081 53.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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