#335A41

Closest named color: Pine (#2B5D34). oklch(43.1% 0.061 154.8), rgb(51, 90, 65).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.061)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.67:1
White text7.83:1

Values

HEX#335A41
RGBrgb(51, 90, 65)
HSLhsl(142, 28%, 28%)
OKLCHoklch(43.1% 0.061 154.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 #335A41 7.83:1 AAA Lc -91.8 Preferred for body text
Black text on #335A41 2.67:1 Fails Lc 16.9 Dividers and decoration only
#335A41 text on white 7.83:1 AAA Lc 87.1 Fine for body text
#335A41 text on black 2.67:1 Fails Lc -15.0 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

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #CFDDD3

    oklch(88.4% 0.02 154.9)

  4. Step 300

    300

    #AFC8B7

    oklch(80.9% 0.036 155.8)

  5. Step 400

    400

    #85AC91

    oklch(70.8% 0.058 154.5)

  6. Step 500

    500

    #659776

    oklch(63.1% 0.073 154.8)

  7. Step 600

    600

    #4B815F

    oklch(55.6% 0.079 155.2)

  8. Step 700

    700

    #3C6D4E

    oklch(49.1% 0.073 154.9)

  9. Step 800

    800 (this color)

    #335A41

    oklch(43.1% 0.061 154.8)

  10. Step 900

    900

    #2C4936

    oklch(37.6% 0.048 154.7)

  11. Step 950

    950

    #1A2B20

    oklch(27% 0.031 155.4)

Export this scale for Tailwind in the Tailwind colors tool

#335A41 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)#5A54400.056
Deuteranopia (no green cones)#5450420.054
Tritanopia (no blue cones)#2B59530.030
Achromatopsia (no color)#5252520.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A41

    #335A41

    oklch(43.1% 0.061 154.8)

  • #65435D

    #65435D

    oklch(43.1% 0.061 335.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A41

    #335A41

    oklch(43.1% 0.061 154.8)

  • #485630

    #485630

    oklch(43.1% 0.061 125.4)

  • #215B54

    #215B54

    oklch(43.1% 0.061 184.3)

Open the analogous palette in the generator

Split complementary

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

  • #335A41

    #335A41

    oklch(43.1% 0.061 154.8)

  • #58476B

    #58476B

    oklch(43% 0.062 305.6)

  • #6C414C

    #6C414C

    oklch(42.9% 0.061 3.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A41

    #335A41

    oklch(43.1% 0.061 154.8)

  • #464D72

    #464D72

    oklch(43% 0.062 275.3)

  • #6D4339

    #6D4339

    oklch(42.9% 0.061 34.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A41

    #335A41

    oklch(43.1% 0.061 154.8)

  • #32536F

    #32536F

    oklch(43% 0.061 245.5)

  • #65435D

    #65435D

    oklch(43.1% 0.061 335.5)

  • #67492A

    #67492A

    oklch(43.1% 0.061 65.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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