#508171

Closest named color: Dark Sage (#598556). oklch(56.3% 0.059 171.4), rgb(80, 129, 113).

Aa

Black text reads best on this color (4.71:1).

About this color

#508171 is a medium-dark, muted teal or cyan. In OKLCH its lightness is 56%, its chroma 0.059 and its hue 171°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sage (#598556), ΔE 0.045 away. Black text reads best on it, at 4.71:1.

Hue familyTeals and cyans
Lightnessmedium-dark (56%)
Chromamuted (0.059)
Temperaturecool
Nearest nameDark Sage (#598556)
Black text4.71:1
White text4.44:1

Values

HEX#508171
RGBrgb(80, 129, 113)
HSLhsl(160, 23%, 41%)
OKLCHoklch(56.3% 0.059 171.4)

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 #508171 4.44:1 AA large text Lc -76.3 Fine for body text
Black text on #508171 4.71:1 AA Lc 33.3 Non-text elements, placeholder text
#508171 text on white 4.44:1 AA large text Lc 70.8 Content text, not long reading
#508171 text on black 4.71:1 AA Lc -30.9 Non-text elements, placeholder text

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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5ECE9

    oklch(93.7% 0.008 168.7)

  3. Step 200

    200

    #D0DCD8

    oklch(88.4% 0.014 174.1)

  4. Step 300

    300

    #B0C6BE

    oklch(80.8% 0.026 171.8)

  5. Step 400

    400

    #86AA9D

    oklch(70.7% 0.044 171)

  6. Step 500

    500

    #679585

    oklch(63.2% 0.056 170.8)

  7. Step 600

    600 (this color)

    #508171

    oklch(56.3% 0.059 171.4)

  8. Step 700

    700

    #3E6B5D

    oklch(49.1% 0.055 172)

  9. Step 800

    800

    #34574C

    oklch(42.6% 0.045 172.1)

  10. Step 900

    900

    #2E483F

    oklch(37.8% 0.036 170.7)

  11. Step 950

    950

    #1B2A25

    oklch(27% 0.022 171.9)

Export this scale for Tailwind in the Tailwind colors tool

#508171 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)#7E7B700.061
Deuteranopia (no green cones)#7675720.058
Tritanopia (no blue cones)#42827C0.019
Achromatopsia (no color)#7777770.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #508171

    #508171

    oklch(56.3% 0.059 171.4)

  • #916779

    #916779

    oklch(56.3% 0.059 351.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #508171

    #508171

    oklch(56.3% 0.059 171.4)

  • #627E5E

    #627E5E

    oklch(56.2% 0.058 141.5)

  • #488084

    #488084

    oklch(56.3% 0.059 201.6)

Open the analogous palette in the generator

Split complementary

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

  • #508171

    #508171

    oklch(56.3% 0.059 171.4)

  • #866A8B

    #866A8B

    oklch(56.3% 0.06 321.2)

  • #956866

    #956866

    oklch(56.3% 0.058 21.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #508171

    #508171

    oklch(56.3% 0.059 171.4)

  • #757096

    #757096

    oklch(56.4% 0.058 290.4)

  • #926C55

    #926C55

    oklch(56.4% 0.059 52.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #508171

    #508171

    oklch(56.3% 0.059 171.4)

  • #627699

    #627699

    oklch(56.3% 0.06 261.4)

  • #916779

    #916779

    oklch(56.3% 0.059 351.8)

  • #87724D

    #87724D

    oklch(56.3% 0.059 81.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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