#335A2C

Closest named color: Pine (#2B5D34). oklch(42.6% 0.085 140.7), rgb(51, 90, 44).

Aa

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

About this color

#335A2C is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.085 and its hue 141°. 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.95:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.63:1
White text7.95:1

Values

HEX#335A2C
RGBrgb(51, 90, 44)
HSLhsl(111, 34%, 26%)
OKLCHoklch(42.6% 0.085 140.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 #335A2C 7.95:1 AAA Lc -92.2 Preferred for body text
Black text on #335A2C 2.63:1 Fails Lc 16.6 Dividers and decoration only
#335A2C text on white 7.95:1 AAA Lc 87.5 Fine for body text
#335A2C text on black 2.63:1 Fails Lc -14.7 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5ECE3

    oklch(93.5% 0.014 138.7)

  3. Step 200

    200

    #D0DECD

    oklch(88.5% 0.027 140.2)

  4. Step 300

    300

    #B0C9AB

    oklch(80.9% 0.05 140.4)

  5. Step 400

    400

    #86AD7E

    oklch(70.6% 0.079 140.3)

  6. Step 500

    500

    #66995D

    oklch(63.1% 0.103 140.8)

  7. Step 600

    600

    #4D8343

    oklch(55.6% 0.111 140.6)

  8. Step 700

    700

    #3E6F35

    oklch(49.2% 0.103 140.6)

  9. Step 800

    800 (this color)

    #335A2C

    oklch(42.6% 0.085 140.7)

  10. Step 900

    900

    #2D4A28

    oklch(37.6% 0.066 140.8)

  11. Step 950

    950

    #1B2C18

    oklch(27.2% 0.042 140.8)

Export this scale for Tailwind in the Tailwind colors tool

#335A2C 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)#5C53280.060
Deuteranopia (no green cones)#57502F0.059
Tritanopia (no blue cones)#30574F0.057
Achromatopsia (no color)#5151510.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A2C

    #335A2C

    oklch(42.6% 0.085 140.7)

  • #643E6B

    #643E6B

    oklch(42.6% 0.086 321.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A2C

    #335A2C

    oklch(42.6% 0.085 140.7)

  • #515310

    #515310

    oklch(42.7% 0.086 111.3)

  • #005D48

    #005D48

    oklch(42.6% 0.084 170.6)

Open the analogous palette in the generator

Split complementary

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

  • #335A2C

    #335A2C

    oklch(42.6% 0.085 140.7)

  • #4F467A

    #4F467A

    oklch(42.7% 0.085 290.3)

  • #713A55

    #713A55

    oklch(42.7% 0.085 350.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A2C

    #335A2C

    oklch(42.6% 0.085 140.7)

  • #334E7D

    #334E7D

    oklch(42.6% 0.085 260.9)

  • #763A3A

    #763A3A

    oklch(42.6% 0.084 21.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A2C

    #335A2C

    oklch(42.6% 0.085 140.7)

  • #015674

    #015674

    oklch(42.5% 0.085 230.7)

  • #643E6B

    #643E6B

    oklch(42.6% 0.086 321.2)

  • #733F1F

    #733F1F

    oklch(42.5% 0.085 50.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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