#335F2F

Closest named color: Pine (#2B5D34). oklch(44.1% 0.09 142.2), rgb(51, 95, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.81:1
White text7.45:1

Values

HEX#335F2F
RGBrgb(51, 95, 47)
HSLhsl(115, 34%, 28%)
OKLCHoklch(44.1% 0.09 142.2)

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 #335F2F 7.45:1 AAA Lc -90.6 Preferred for body text
Black text on #335F2F 2.81:1 Fails Lc 18.3 Dividers and decoration only
#335F2F text on white 7.45:1 AAA Lc 85.7 Fine for body text
#335F2F text on black 2.81:1 Fails Lc -16.3 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CFDECD

    oklch(88.5% 0.028 142)

  4. Step 300

    300

    #AECAAB

    oklch(81% 0.052 142.5)

  5. Step 400

    400

    #82AE7E

    oklch(70.6% 0.083 142.6)

  6. Step 500

    500

    #629A5C

    oklch(63.1% 0.108 142)

  7. Step 600

    600

    #478442

    oklch(55.6% 0.117 142.3)

  8. Step 700

    700

    #387033

    oklch(49.1% 0.11 142.1)

  9. Step 800

    800 (this color)

    #335F2F

    oklch(44.1% 0.09 142.2)

  10. Step 900

    900

    #2A4B27

    oklch(37.7% 0.071 142.2)

  11. Step 950

    950

    #192C17

    oklch(27% 0.045 142.1)

Export this scale for Tailwind in the Tailwind colors tool

#335F2F 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)#61582B0.065
Deuteranopia (no green cones)#5B54320.064
Tritanopia (no blue cones)#2E5C540.059
Achromatopsia (no color)#5555550.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #335F2F

    #335F2F

    oklch(44.1% 0.09 142.2)

  • #6A4170

    #6A4170

    oklch(44.2% 0.09 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335F2F

    #335F2F

    oklch(44.1% 0.09 142.2)

  • #54570F

    #54570F

    oklch(44% 0.09 112)

  • #00624D

    #00624D

    oklch(44.2% 0.086 171.5)

Open the analogous palette in the generator

Split complementary

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

  • #335F2F

    #335F2F

    oklch(44.1% 0.09 142.2)

  • #544880

    #544880

    oklch(44% 0.091 292.1)

  • #783C58

    #783C58

    oklch(44.1% 0.091 352.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335F2F

    #335F2F

    oklch(44.1% 0.09 142.2)

  • #375284

    #375284

    oklch(44.2% 0.089 261.9)

  • #7D3C3C

    #7D3C3C

    oklch(44% 0.09 21.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335F2F

    #335F2F

    oklch(44.1% 0.09 142.2)

  • #005A7C

    #005A7C

    oklch(44% 0.091 232.9)

  • #6A4170

    #6A4170

    oklch(44.2% 0.09 322.3)

  • #79431E

    #79431E

    oklch(44.1% 0.09 52.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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