#335238

Closest named color: Pine (#2B5D34). oklch(40.6% 0.057 148.5), rgb(51, 82, 56).

Aa

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

About this color

#335238 is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.057 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.039 away. White text reads best on it, at 8.73:1.

Hue familyGreens
Lightnessdark (41%)
Chromamuted (0.057)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.40:1
White text8.73:1

Values

HEX#335238
RGBrgb(51, 82, 56)
HSLhsl(130, 23%, 26%)
OKLCHoklch(40.6% 0.057 148.5)

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 #335238 8.73:1 AAA Lc -94.3 Preferred for body text
Black text on #335238 2.40:1 Fails Lc 14.1 Not readable
#335238 text on white 8.73:1 AAA Lc 89.9 Fine for body text
#335238 text on black 2.40:1 Fails Lc -12.4 Not readable

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

    #E6ECE6

    oklch(93.7% 0.01 145.5)

  3. Step 200

    200

    #D1DDD2

    oklch(88.5% 0.02 147.8)

  4. Step 300

    300

    #B3C7B5

    oklch(80.9% 0.033 148.1)

  5. Step 400

    400

    #8AAA8E

    oklch(70.6% 0.054 148.4)

  6. Step 500

    500

    #6D9573

    oklch(63.1% 0.067 148.7)

  7. Step 600

    600

    #547F5B

    oklch(55.5% 0.073 148.7)

  8. Step 700

    700

    #446C4B

    oklch(49.2% 0.069 148.9)

  9. Step 800

    800 (this color)

    #335238

    oklch(40.6% 0.057 148.5)

  10. Step 900

    900

    #314834

    oklch(37.6% 0.044 148)

  11. Step 950

    950

    #1D2A1F

    oklch(26.9% 0.027 149)

Export this scale for Tailwind in the Tailwind colors tool

#335238 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)#534D360.048
Deuteranopia (no green cones)#4E4A390.046
Tritanopia (no blue cones)#2F514B0.032
Achromatopsia (no color)#4B4B4B0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #335238

    #335238

    oklch(40.6% 0.057 148.5)

  • #5A3E59

    #5A3E59

    oklch(40.6% 0.057 327.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335238

    #335238

    oklch(40.6% 0.057 148.5)

  • #464E29

    #464E29

    oklch(40.7% 0.058 119)

  • #21534A

    #21534A

    oklch(40.5% 0.056 179.8)

Open the analogous palette in the generator

Split complementary

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

  • #335238

    #335238

    oklch(40.6% 0.057 148.5)

  • #4D4364

    #4D4364

    oklch(40.7% 0.056 297.8)

  • #633C49

    #633C49

    oklch(40.7% 0.058 358.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335238

    #335238

    oklch(40.6% 0.057 148.5)

  • #3C4869

    #3C4869

    oklch(40.6% 0.058 268.5)

  • #653D38

    #653D38

    oklch(40.6% 0.057 27.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335238

    #335238

    oklch(40.6% 0.057 148.5)

  • #2A4E65

    #2A4E65

    oklch(40.7% 0.057 238.3)

  • #5A3E59

    #5A3E59

    oklch(40.6% 0.057 327.8)

  • #604229

    #604229

    oklch(40.7% 0.056 60.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #335238 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.