#335B28

Closest named color: Pine (#2B5D34). oklch(42.8% 0.091 139.3), rgb(51, 91, 40).

Aa

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

About this color

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

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

Values

HEX#335B28
RGBrgb(51, 91, 40)
HSLhsl(107, 39%, 26%)
OKLCHoklch(42.8% 0.091 139.3)

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

    #E5ECE3

    oklch(93.5% 0.014 138.7)

  3. Step 200

    200

    #CFDECC

    oklch(88.4% 0.029 140.5)

  4. Step 300

    300

    #AFC9A9

    oklch(80.8% 0.052 139.8)

  5. Step 400

    400

    #85AE7A

    oklch(70.7% 0.086 139.1)

  6. Step 500

    500

    #669958

    oklch(63% 0.108 139.1)

  7. Step 600

    600

    #4C843D

    oklch(55.7% 0.119 139.4)

  8. Step 700

    700

    #3D6F2F

    oklch(49.1% 0.109 139.2)

  9. Step 800

    800 (this color)

    #335B28

    oklch(42.8% 0.091 139.3)

  10. Step 900

    900

    #2D4B25

    oklch(37.9% 0.071 139.3)

  11. Step 950

    950

    #1B2C16

    oklch(27.1% 0.045 138.8)

Export this scale for Tailwind in the Tailwind colors tool

#335B28 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)#5E54230.062
Deuteranopia (no green cones)#58502B0.062
Tritanopia (no blue cones)#30584F0.061
Achromatopsia (no color)#5252520.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #335B28

    #335B28

    oklch(42.8% 0.091 139.3)

  • #653E6F

    #653E6F

    oklch(43% 0.091 319.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335B28

    #335B28

    oklch(42.8% 0.091 139.3)

  • #535304

    #535304

    oklch(42.8% 0.091 109.7)

  • #005E47

    #005E47

    oklch(42.8% 0.086 168.9)

Open the analogous palette in the generator

Split complementary

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

  • #335B28

    #335B28

    oklch(42.8% 0.091 139.3)

  • #4E467E

    #4E467E

    oklch(42.9% 0.091 288.5)

  • #733857

    #733857

    oklch(42.7% 0.092 348.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335B28

    #335B28

    oklch(42.8% 0.091 139.3)

  • #304F81

    #304F81

    oklch(42.9% 0.091 259.5)

  • #79383B

    #79383B

    oklch(42.7% 0.091 18.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335B28

    #335B28

    oklch(42.8% 0.091 139.3)

  • #005774

    #005774

    oklch(42.7% 0.085 229.4)

  • #653E6F

    #653E6F

    oklch(43% 0.091 319.2)

  • #763E1C

    #763E1C

    oklch(42.7% 0.091 49.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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