#517D40

Closest named color: Military Green (#667C3E). oklch(54.2% 0.102 137.5), rgb(81, 125, 64).

Aa

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

About this color

#517D40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.102 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Military Green (#667C3E), ΔE 0.026 away. White text reads best on it, at 4.81:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameMilitary Green (#667C3E)
Black text4.35:1
White text4.81:1

Values

HEX#517D40
RGBrgb(81, 125, 64)
HSLhsl(103, 32%, 37%)
OKLCHoklch(54.2% 0.102 137.5)

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 #517D40 4.81:1 AA Lc -78.8 Fine for body text
Black text on #517D40 4.35:1 AA large text Lc 30.8 Non-text elements, placeholder text
#517D40 text on white 4.81:1 AA Lc 73.3 Content text, not long reading
#517D40 text on black 4.35:1 AA large text Lc -28.4 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

    #F3F6F2

    oklch(97% 0.006 137.8)

  2. Step 100

    100

    #E6ECE3

    oklch(93.6% 0.014 134.9)

  3. Step 200

    200

    #D1DDCD

    oklch(88.4% 0.025 137.8)

  4. Step 300

    300

    #B3C8AB

    oklch(80.9% 0.046 137)

  5. Step 400

    400

    #8BAC7F

    oklch(70.8% 0.073 137.5)

  6. Step 500

    500

    #6D975E

    oklch(63.1% 0.094 137.7)

  7. Step 600

    600 (this color)

    #517D40

    oklch(54.2% 0.102 137.5)

  8. Step 700

    700

    #456D36

    oklch(49.1% 0.094 137.7)

  9. Step 800

    800

    #39592D

    oklch(42.7% 0.078 137.7)

  10. Step 900

    900

    #314928

    oklch(37.6% 0.061 137.6)

  11. Step 950

    950

    #1D2B18

    oklch(27% 0.039 137.7)

Export this scale for Tailwind in the Tailwind colors tool

#517D40 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)#81743B0.069
Deuteranopia (no green cones)#7A70440.068
Tritanopia (no blue cones)#4F796F0.072
Achromatopsia (no color)#7272720.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #517D40

    #517D40

    oklch(54.2% 0.102 137.5)

  • #885B96

    #885B96

    oklch(54.2% 0.103 317.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #517D40

    #517D40

    oklch(54.2% 0.102 137.5)

  • #767321

    #767321

    oklch(54.2% 0.102 107.3)

  • #1C8263

    #1C8263

    oklch(54.2% 0.102 167.3)

Open the analogous palette in the generator

Split complementary

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

  • #517D40

    #517D40

    oklch(54.2% 0.102 137.5)

  • #6C65A7

    #6C65A7

    oklch(54.2% 0.102 287.4)

  • #9A557A

    #9A557A

    oklch(54.2% 0.102 347.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #517D40

    #517D40

    oklch(54.2% 0.102 137.5)

  • #4870AA

    #4870AA

    oklch(54.2% 0.102 257.6)

  • #A25559

    #A25559

    oklch(54.2% 0.102 17.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #517D40

    #517D40

    oklch(54.2% 0.102 137.5)

  • #0E7A9D

    #0E7A9D

    oklch(54.1% 0.102 227.4)

  • #885B96

    #885B96

    oklch(54.2% 0.103 317.9)

  • #9F5B37

    #9F5B37

    oklch(54.2% 0.102 47.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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