#335B24

Closest named color: Pine (#2B5D34). oklch(42.8% 0.095 138), rgb(51, 91, 36).

Aa

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

About this color

#335B24 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.095 and its hue 138°. 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.88:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.66:1
White text7.88:1

Values

HEX#335B24
RGBrgb(51, 91, 36)
HSLhsl(104, 43%, 25%)
OKLCHoklch(42.8% 0.095 138)

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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5EDE2

    oklch(93.7% 0.017 137)

  3. Step 200

    200

    #D0DECB

    oklch(88.5% 0.03 137.4)

  4. Step 300

    300

    #AFCAA7

    oklch(80.9% 0.056 138.6)

  5. Step 400

    400

    #85AE77

    oklch(70.7% 0.089 137.9)

  6. Step 500

    500

    #669A54

    oklch(63.2% 0.114 138.1)

  7. Step 600

    600

    #4C8437

    oklch(55.6% 0.125 138)

  8. Step 700

    700

    #3D6F2A

    oklch(49% 0.114 138)

  9. Step 800

    800 (this color)

    #335B24

    oklch(42.8% 0.095 138)

  10. Step 900

    900

    #2D4B22

    oklch(37.8% 0.075 137.9)

  11. Step 950

    950

    #1B2C15

    oklch(27.1% 0.047 137.9)

Export this scale for Tailwind in the Tailwind colors tool

#335B24 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)#5E541F0.063
Deuteranopia (no green cones)#5850280.062
Tritanopia (no blue cones)#31584F0.066
Achromatopsia (no color)#5151510.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #335B24

    #335B24

    oklch(42.8% 0.095 138)

  • #653D71

    #653D71

    oklch(42.9% 0.095 318.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335B24

    #335B24

    oklch(42.8% 0.095 138)

  • #545200

    #545200

    oklch(42.7% 0.092 108.1)

  • #005E46

    #005E46

    oklch(42.8% 0.087 168)

Open the analogous palette in the generator

Split complementary

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

  • #335B24

    #335B24

    oklch(42.8% 0.095 138)

  • #4D4580

    #4D4580

    oklch(42.7% 0.096 287.9)

  • #743758

    #743758

    oklch(42.7% 0.095 348.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335B24

    #335B24

    oklch(42.8% 0.095 138)

  • #2C4F83

    #2C4F83

    oklch(42.8% 0.096 258.2)

  • #7B373B

    #7B373B

    oklch(42.9% 0.095 18.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335B24

    #335B24

    oklch(42.8% 0.095 138)

  • #005773

    #005773

    oklch(42.7% 0.084 228.5)

  • #653D71

    #653D71

    oklch(42.9% 0.095 318.1)

  • #783D1A

    #783D1A

    oklch(42.8% 0.095 48.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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