#517F17

Closest named color: Dark Grass Green (#388004). oklch(54.3% 0.139 131.4), rgb(81, 127, 23).

Aa

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

About this color

#517F17 is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.139 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.028 away. White text reads best on it, at 4.77:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.39:1
White text4.77:1

Values

HEX#517F17
RGBrgb(81, 127, 23)
HSLhsl(87, 69%, 29%)
OKLCHoklch(54.3% 0.139 131.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 #517F17 4.77:1 AA Lc -78.4 Fine for body text
Black text on #517F17 4.39:1 AA large text Lc 31.1 Non-text elements, placeholder text
#517F17 text on white 4.77:1 AA Lc 72.9 Content text, not long reading
#517F17 text on black 4.39: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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E6EDE0

    oklch(93.7% 0.019 130.2)

  3. Step 200

    200

    #D1DEC7

    oklch(88.4% 0.034 131.4)

  4. Step 300

    300

    #B2C9A0

    oklch(80.8% 0.061 131.6)

  5. Step 400

    400

    #8AAE6B

    oklch(70.8% 0.1 131.5)

  6. Step 500

    500

    #6D9941

    oklch(63.1% 0.128 131.4)

  7. Step 600

    600 (this color)

    #517F17

    oklch(54.3% 0.139 131.4)

  8. Step 700

    700

    #456F0D

    oklch(49.2% 0.129 131.4)

  9. Step 800

    800

    #395A10

    oklch(42.6% 0.107 131.2)

  10. Step 900

    900

    #314A16

    oklch(37.6% 0.083 131.2)

  11. Step 950

    950

    #1D2C0F

    oklch(27.1% 0.053 131.7)

Export this scale for Tailwind in the Tailwind colors tool

#517F17 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)#8575000.075
Deuteranopia (no green cones)#7F71230.077
Tritanopia (no blue cones)#53796C0.106
Achromatopsia (no color)#7373730.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #517F17

    #517F17

    oklch(54.3% 0.139 131.4)

  • #8A54AA

    #8A54AA

    oklch(54.3% 0.14 311.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #517F17

    #517F17

    oklch(54.3% 0.139 131.4)

  • #7E7100

    #7E7100

    oklch(54.4% 0.114 101.4)

  • #008459

    #008459

    oklch(54.2% 0.119 161.8)

Open the analogous palette in the generator

Split complementary

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

  • #517F17

    #517F17

    oklch(54.3% 0.139 131.4)

  • #6462BD

    #6462BD

    oklch(54.3% 0.139 281.7)

  • #A34A87

    #A34A87

    oklch(54.3% 0.139 341.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #517F17

    #517F17

    oklch(54.3% 0.139 131.4)

  • #2372BD

    #2372BD

    oklch(54.4% 0.139 251.3)

  • #B1475B

    #B1475B

    oklch(54.4% 0.139 11.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #517F17

    #517F17

    oklch(54.3% 0.139 131.4)

  • #007C98

    #007C98

    oklch(54.3% 0.1 220.9)

  • #8A54AA

    #8A54AA

    oklch(54.3% 0.14 311.6)

  • #B04E26

    #B04E26

    oklch(54.3% 0.139 41.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #517F17 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.