#335F42

Closest named color: Pine (#2B5D34). oklch(44.5% 0.069 153.8), rgb(51, 95, 66).

Aa

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

About this color

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

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

Values

HEX#335F42
RGBrgb(51, 95, 66)
HSLhsl(140, 30%, 29%)
OKLCHoklch(44.5% 0.069 153.8)

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

    #AEC9B5

    oklch(81% 0.04 153.3)

  5. Step 400

    400

    #82AD8E

    oklch(70.8% 0.065 153.2)

  6. Step 500

    500

    #619872

    oklch(63.1% 0.082 153.4)

  7. Step 600

    600

    #46835B

    oklch(55.7% 0.089 153.7)

  8. Step 700

    700

    #376E4A

    oklch(49% 0.083 153.5)

  9. Step 800

    800 (this color)

    #335F42

    oklch(44.5% 0.069 153.8)

  10. Step 900

    900

    #2A4A34

    oklch(37.7% 0.054 153.2)

  11. Step 950

    950

    #192B1F

    oklch(26.9% 0.033 154.5)

Export this scale for Tailwind in the Tailwind colors tool

#335F42 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)#5F59400.061
Deuteranopia (no green cones)#5854440.059
Tritanopia (no blue cones)#2A5E570.035
Achromatopsia (no color)#5656560.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #335F42

    #335F42

    oklch(44.5% 0.069 153.8)

  • #6B4564

    #6B4564

    oklch(44.5% 0.069 333.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335F42

    #335F42

    oklch(44.5% 0.069 153.8)

  • #4C5A2E

    #4C5A2E

    oklch(44.4% 0.068 123.6)

  • #1B6058

    #1B6058

    oklch(44.5% 0.068 184)

Open the analogous palette in the generator

Split complementary

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

  • #335F42

    #335F42

    oklch(44.5% 0.069 153.8)

  • #5C4A73

    #5C4A73

    oklch(44.5% 0.069 303.9)

  • #744350

    #744350

    oklch(44.5% 0.07 3.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335F42

    #335F42

    oklch(44.5% 0.069 153.8)

  • #48517A

    #48517A

    oklch(44.5% 0.068 273.9)

  • #75453A

    #75453A

    oklch(44.4% 0.069 33.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335F42

    #335F42

    oklch(44.5% 0.069 153.8)

  • #305877

    #305877

    oklch(44.5% 0.068 243.6)

  • #6B4564

    #6B4564

    oklch(44.5% 0.069 333.5)

  • #6E4B29

    #6E4B29

    oklch(44.4% 0.068 63.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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