#335F41

Closest named color: Pine (#2B5D34). oklch(44.5% 0.07 152.9), rgb(51, 95, 65).

Aa

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

About this color

#335F41 is a dark, muted green. In OKLCH its lightness is 44%, its chroma 0.070 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.022 away. White text reads best on it, at 7.35:1.

Hue familyGreens
Lightnessdark (44%)
Chromamuted (0.070)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.85:1
White text7.35:1

Values

HEX#335F41
RGBrgb(51, 95, 65)
HSLhsl(139, 30%, 29%)
OKLCHoklch(44.5% 0.07 152.9)

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 #335F41 7.35:1 AAA Lc -90.3 Preferred for body text
Black text on #335F41 2.85:1 Fails Lc 18.6 Dividers and decoration only
#335F41 text on white 7.35:1 AAA Lc 85.4 Fine for body text
#335F41 text on black 2.85:1 Fails Lc -16.6 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CEDED2

    oklch(88.5% 0.024 153.4)

  4. Step 300

    300

    #AEC9B4

    oklch(81% 0.041 152)

  5. Step 400

    400

    #82AD8D

    oklch(70.7% 0.066 152.4)

  6. Step 500

    500

    #619871

    oklch(63% 0.083 152.7)

  7. Step 600

    600

    #468359

    oklch(55.7% 0.092 152.5)

  8. Step 700

    700

    #376E49

    oklch(49% 0.084 152.8)

  9. Step 800

    800 (this color)

    #335F41

    oklch(44.5% 0.07 152.9)

  10. Step 900

    900

    #2A4A34

    oklch(37.7% 0.054 153.2)

  11. Step 950

    950

    #192B1E

    oklch(26.9% 0.034 152.4)

Export this scale for Tailwind in the Tailwind colors tool

#335F41 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)#5F593F0.061
Deuteranopia (no green cones)#5854430.059
Tritanopia (no blue cones)#2A5E570.036
Achromatopsia (no color)#5656560.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #335F41

    #335F41

    oklch(44.5% 0.07 152.9)

  • #6B4564

    #6B4564

    oklch(44.5% 0.069 333.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335F41

    #335F41

    oklch(44.5% 0.07 152.9)

  • #4C5A2D

    #4C5A2D

    oklch(44.4% 0.069 123.4)

  • #196057

    #196057

    oklch(44.4% 0.07 182.9)

Open the analogous palette in the generator

Split complementary

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

  • #335F41

    #335F41

    oklch(44.5% 0.07 152.9)

  • #5B4A74

    #5B4A74

    oklch(44.4% 0.07 302.2)

  • #744350

    #744350

    oklch(44.5% 0.07 3.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335F41

    #335F41

    oklch(44.5% 0.07 152.9)

  • #47517B

    #47517B

    oklch(44.5% 0.07 273)

  • #75453A

    #75453A

    oklch(44.4% 0.069 33.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335F41

    #335F41

    oklch(44.5% 0.07 152.9)

  • #2E5877

    #2E5877

    oklch(44.4% 0.07 242.5)

  • #6B4564

    #6B4564

    oklch(44.5% 0.069 333.5)

  • #6F4B28

    #6F4B28

    oklch(44.5% 0.07 63.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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