#335B45

Closest named color: Pine (#2B5D34). oklch(43.5% 0.059 158.6), rgb(51, 91, 69).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.059)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.72:1
White text7.71:1

Values

HEX#335B45
RGBrgb(51, 91, 69)
HSLhsl(147, 28%, 28%)
OKLCHoklch(43.5% 0.059 158.6)

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 #335B45 7.71:1 AAA Lc -91.5 Preferred for body text
Black text on #335B45 2.72:1 Fails Lc 17.3 Dividers and decoration only
#335B45 text on white 7.71:1 AAA Lc 86.7 Fine for body text
#335B45 text on black 2.72:1 Fails Lc -15.4 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

    #CFDDD4

    oklch(88.4% 0.019 157.8)

  4. Step 300

    300

    #AFC8B8

    oklch(80.9% 0.035 157.5)

  5. Step 400

    400

    #84AB94

    oklch(70.6% 0.054 158.8)

  6. Step 500

    500

    #64977A

    oklch(63.2% 0.07 158.7)

  7. Step 600

    600

    #4A8163

    oklch(55.6% 0.076 158.8)

  8. Step 700

    700

    #3A6D52

    oklch(49.1% 0.071 159.1)

  9. Step 800

    800 (this color)

    #335B45

    oklch(43.5% 0.059 158.6)

  10. Step 900

    900

    #2C4939

    oklch(37.7% 0.045 159.1)

  11. Step 950

    950

    #1A2B21

    oklch(27% 0.029 157.9)

Export this scale for Tailwind in the Tailwind colors tool

#335B45 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)#5A56440.054
Deuteranopia (no green cones)#5451460.053
Tritanopia (no blue cones)#2A5B550.026
Achromatopsia (no color)#5353530.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #335B45

    #335B45

    oklch(43.5% 0.059 158.6)

  • #67445C

    #67445C

    oklch(43.5% 0.06 338.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335B45

    #335B45

    oklch(43.5% 0.059 158.6)

  • #475734

    #475734

    oklch(43.3% 0.058 128.6)

  • #245B57

    #245B57

    oklch(43.3% 0.058 188.7)

Open the analogous palette in the generator

Split complementary

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

  • #335B45

    #335B45

    oklch(43.5% 0.059 158.6)

  • #5A486A

    #5A486A

    oklch(43.4% 0.059 308.2)

  • #6D434A

    #6D434A

    oklch(43.4% 0.059 9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335B45

    #335B45

    oklch(43.5% 0.059 158.6)

  • #4A4E71

    #4A4E71

    oklch(43.5% 0.058 278.7)

  • #6D4639

    #6D4639

    oklch(43.5% 0.058 39.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335B45

    #335B45

    oklch(43.5% 0.059 158.6)

  • #375470

    #375470

    oklch(43.5% 0.058 248.4)

  • #67445C

    #67445C

    oklch(43.5% 0.06 338.9)

  • #664B2C

    #664B2C

    oklch(43.4% 0.058 69.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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