#5F7255

Closest named color: Dark Moss Green (#606C38). oklch(52.8% 0.05 135), rgb(95, 114, 85).

Aa

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

About this color

#5F7255 is a medium-dark, muted green. In OKLCH its lightness is 53%, its chroma 0.050 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Moss Green (#606C38), ΔE 0.037 away. White text reads best on it, at 5.21:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromamuted (0.050)
Temperaturein between
Nearest nameDark Moss Green (#606C38)
Black text4.02:1
White text5.21:1

Values

HEX#5F7255
RGBrgb(95, 114, 85)
HSLhsl(99, 15%, 39%)
OKLCHoklch(52.8% 0.05 135)

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 #5F7255 5.21:1 AA Lc -81.2 Fine for body text
Black text on #5F7255 4.02:1 AA large text Lc 28.2 Dividers and decoration only
#5F7255 text on white 5.21:1 AA Lc 75.9 Fine for body text
#5F7255 text on black 4.02:1 AA large text Lc -25.9 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 600.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE6

    oklch(93.6% 0.007 132.4)

  3. Step 200

    200

    #D6DBD3

    oklch(88.5% 0.012 133.4)

  4. Step 300

    300

    #BBC4B6

    oklch(80.9% 0.022 134.1)

  5. Step 400

    400

    #97A690

    oklch(70.7% 0.036 135.6)

  6. Step 500

    500

    #7E9074

    oklch(63.1% 0.046 134.4)

  7. Step 600

    600 (this color)

    #5F7255

    oklch(52.8% 0.05 135)

  8. Step 700

    700

    #55674C

    oklch(49.1% 0.047 135.3)

  9. Step 800

    800

    #46543F

    oklch(42.7% 0.038 135.3)

  10. Step 900

    900

    #3B4535

    oklch(37.6% 0.03 133.8)

  11. Step 950

    950

    #22291F

    oklch(27.1% 0.021 136.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F7255 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)#746E530.032
Deuteranopia (no green cones)#716C560.031
Tritanopia (no blue cones)#5F706A0.035
Achromatopsia (no color)#6C6C6C0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F7255

    #5F7255

    oklch(52.8% 0.05 135)

  • #76637F

    #76637F

    oklch(52.8% 0.049 314.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F7255

    #5F7255

    oklch(52.8% 0.05 135)

  • #6F6D4B

    #6F6D4B

    oklch(52.7% 0.05 105.1)

  • #507564

    #507564

    oklch(52.9% 0.05 164.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F7255

    #5F7255

    oklch(52.8% 0.05 135)

  • #686887

    #686887

    oklch(52.9% 0.048 284.6)

  • #816072

    #816072

    oklch(52.9% 0.05 345)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F7255

    #5F7255

    oklch(52.8% 0.05 135)

  • #586D88

    #586D88

    oklch(52.8% 0.05 254.9)

  • #866062

    #866062

    oklch(52.9% 0.05 15.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F7255

    #5F7255

    oklch(52.8% 0.05 135)

  • #4B7281

    #4B7281

    oklch(52.9% 0.05 224.1)

  • #76637F

    #76637F

    oklch(52.8% 0.049 314.8)

  • #846254

    #846254

    oklch(52.7% 0.049 43.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F7255 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.