#335831

Closest named color: Pine (#2B5D34). oklch(42.1% 0.076 143), rgb(51, 88, 49).

Aa

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

About this color

#335831 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.076 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.016 away. White text reads best on it, at 8.13:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.58:1
White text8.13:1

Values

HEX#335831
RGBrgb(51, 88, 49)
HSLhsl(117, 28%, 27%)
OKLCHoklch(42.1% 0.076 143)

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 #335831 8.13:1 AAA Lc -92.7 Preferred for body text
Black text on #335831 2.58:1 Fails Lc 16.0 Dividers and decoration only
#335831 text on white 8.13:1 AAA Lc 88.0 Fine for body text
#335831 text on black 2.58:1 Fails Lc -14.1 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

    #F3F6F3

    oklch(97% 0.005 145.5)

  2. Step 100

    100

    #E5ECE4

    oklch(93.6% 0.013 141.8)

  3. Step 200

    200

    #D0DECF

    oklch(88.6% 0.025 143.5)

  4. Step 300

    300

    #B1C8AE

    oklch(80.8% 0.044 142)

  5. Step 400

    400

    #87AC84

    oklch(70.6% 0.07 142.9)

  6. Step 500

    500

    #689865

    oklch(63.2% 0.091 143)

  7. Step 600

    600

    #4F824C

    oklch(55.6% 0.098 142.9)

  8. Step 700

    700

    #3F6E3D

    oklch(49.1% 0.092 143.2)

  9. Step 800

    800 (this color)

    #335831

    oklch(42.1% 0.076 143)

  10. Step 900

    900

    #2E4A2C

    oklch(37.8% 0.06 142.8)

  11. Step 950

    950

    #1B2B1A

    oklch(26.9% 0.038 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#335831 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)#5A522E0.057
Deuteranopia (no green cones)#544E330.056
Tritanopia (no blue cones)#2F564E0.047
Achromatopsia (no color)#4F4F4F0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #335831

    #335831

    oklch(42.1% 0.076 143)

  • #613F65

    #613F65

    oklch(42.2% 0.074 323.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335831

    #335831

    oklch(42.1% 0.076 143)

  • #4E521B

    #4E521B

    oklch(42.3% 0.076 113.1)

  • #0E5B49

    #0E5B49

    oklch(42.2% 0.077 172.2)

Open the analogous palette in the generator

Split complementary

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

  • #335831

    #335831

    oklch(42.1% 0.076 143)

  • #4F4573

    #4F4573

    oklch(42.1% 0.076 292.8)

  • #6D3B51

    #6D3B51

    oklch(42.1% 0.076 353)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335831

    #335831

    oklch(42.1% 0.076 143)

  • #374D77

    #374D77

    oklch(42.2% 0.076 262.5)

  • #713C3A

    #713C3A

    oklch(42.2% 0.075 23)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335831

    #335831

    oklch(42.1% 0.076 143)

  • #175470

    #175470

    oklch(42.1% 0.076 232.9)

  • #613F65

    #613F65

    oklch(42.2% 0.074 323.1)

  • #6E4123

    #6E4123

    oklch(42.2% 0.076 52.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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