#5F796C

Closest named color: Battleship Gray (#6C757D). oklch(55.2% 0.036 163.3), rgb(95, 121, 108).

Aa

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

About this color

#5F796C is a medium-dark, muted green. In OKLCH its lightness is 55%, its chroma 0.036 and its hue 163°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Battleship Gray (#6C757D), ΔE 0.038 away. White text reads best on it, at 4.73:1.

Hue familyGreens
Lightnessmedium-dark (55%)
Chromamuted (0.036)
Temperaturein between
Nearest nameBattleship Gray (#6C757D)
Black text4.43:1
White text4.73:1

Values

HEX#5F796C
RGBrgb(95, 121, 108)
HSLhsl(150, 12%, 42%)
OKLCHoklch(55.2% 0.036 163.3)

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 #5F796C 4.73:1 AA Lc -78.3 Fine for body text
Black text on #5F796C 4.43:1 AA large text Lc 31.2 Non-text elements, placeholder text
#5F796C text on white 4.73:1 AA Lc 72.8 Content text, not long reading
#5F796C text on black 4.43:1 AA large text Lc -28.8 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E7EBE9

    oklch(93.6% 0.005 165)

  3. Step 200

    200

    #D4DBD7

    oklch(88.5% 0.009 161.3)

  4. Step 300

    300

    #B8C4BE

    oklch(80.9% 0.016 164.6)

  5. Step 400

    400

    #93A69C

    oklch(70.7% 0.026 162.8)

  6. Step 500

    500

    #789084

    oklch(63.1% 0.033 163.7)

  7. Step 600

    600 (this color)

    #5F796C

    oklch(55.2% 0.036 163.3)

  8. Step 700

    700

    #4F675B

    oklch(49.1% 0.034 163.1)

  9. Step 800

    800

    #41544B

    oklch(42.7% 0.028 164.6)

  10. Step 900

    900

    #37453E

    oklch(37.6% 0.022 163.5)

  11. Step 950

    950

    #202924

    oklch(27% 0.016 160.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F796C 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)#78756B0.036
Deuteranopia (no green cones)#73726D0.034
Tritanopia (no blue cones)#5A79750.015
Achromatopsia (no color)#7373730.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F796C

    #5F796C

    oklch(55.2% 0.036 163.3)

  • #826A77

    #826A77

    oklch(55.2% 0.036 344.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F796C

    #5F796C

    oklch(55.2% 0.036 163.3)

  • #6A7761

    #6A7761

    oklch(55.2% 0.037 132.6)

  • #597978

    #597978

    oklch(55.1% 0.037 193.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F796C

    #5F796C

    oklch(55.2% 0.036 163.3)

  • #7A6C81

    #7A6C81

    oklch(55.2% 0.036 314.5)

  • #866A6C

    #866A6C

    oklch(55.2% 0.036 13.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F796C

    #5F796C

    oklch(55.2% 0.036 163.3)

  • #6F7087

    #6F7087

    oklch(55.3% 0.036 283.2)

  • #856C61

    #856C61

    oklch(55.2% 0.036 45)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F796C

    #5F796C

    oklch(55.2% 0.036 163.3)

  • #637487

    #637487

    oklch(55.2% 0.036 251.4)

  • #826A77

    #826A77

    oklch(55.2% 0.036 344.6)

  • #7F6F5B

    #7F6F5B

    oklch(55.1% 0.036 73.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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