#517E40

Closest named color: Military Green (#667C3E). oklch(54.5% 0.104 137.7), rgb(81, 126, 64).

Aa

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

About this color

#517E40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.104 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.76:1.

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

Values

HEX#517E40
RGBrgb(81, 126, 64)
HSLhsl(104, 33%, 37%)
OKLCHoklch(54.5% 0.104 137.7)

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 #517E40 4.76:1 AA Lc -78.4 Fine for body text
Black text on #517E40 4.40:1 AA large text Lc 31.1 Non-text elements, placeholder text
#517E40 text on white 4.76:1 AA Lc 73.0 Content text, not long reading
#517E40 text on black 4.40:1 AA large text Lc -28.7 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

    #B2C8AB

    oklch(80.8% 0.047 138.1)

  5. Step 400

    400

    #8AAC7E

    oklch(70.7% 0.075 137.7)

  6. Step 500

    500

    #6D975D

    oklch(63.1% 0.095 137.4)

  7. Step 600

    600 (this color)

    #517E40

    oklch(54.5% 0.104 137.7)

  8. Step 700

    700

    #446D35

    oklch(49% 0.096 137.9)

  9. Step 800

    800

    #39592C

    oklch(42.7% 0.08 137.3)

  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

#517E40 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)#82753B0.070
Deuteranopia (no green cones)#7B71440.069
Tritanopia (no blue cones)#4F7A6F0.071
Achromatopsia (no color)#7373730.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #517E40

    #517E40

    oklch(54.5% 0.104 137.7)

  • #895C97

    #895C97

    oklch(54.6% 0.103 317.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #517E40

    #517E40

    oklch(54.5% 0.104 137.7)

  • #76741F

    #76741F

    oklch(54.4% 0.104 108.1)

  • #198364

    #198364

    oklch(54.5% 0.104 167.7)

Open the analogous palette in the generator

Split complementary

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

  • #517E40

    #517E40

    oklch(54.5% 0.104 137.7)

  • #6D65A9

    #6D65A9

    oklch(54.4% 0.104 287.8)

  • #9B557B

    #9B557B

    oklch(54.4% 0.104 347.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #517E40

    #517E40

    oklch(54.5% 0.104 137.7)

  • #4871AC

    #4871AC

    oklch(54.6% 0.104 257.5)

  • #A45559

    #A45559

    oklch(54.5% 0.104 17.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #517E40

    #517E40

    oklch(54.5% 0.104 137.7)

  • #0A7B9F

    #0A7B9F

    oklch(54.5% 0.104 227.7)

  • #895C97

    #895C97

    oklch(54.6% 0.103 317.9)

  • #A05C37

    #A05C37

    oklch(54.5% 0.103 48.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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