#517F2A

Closest named color: Olive Green (#677A04). oklch(54.5% 0.126 133.3), rgb(81, 127, 42).

Aa

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

About this color

#517F2A is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.126 and its hue 133°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.029 away. White text reads best on it, at 4.75:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameOlive Green (#677A04)
Black text4.41:1
White text4.75:1

Values

HEX#517F2A
RGBrgb(81, 127, 42)
HSLhsl(92, 50%, 33%)
OKLCHoklch(54.5% 0.126 133.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 #517F2A 4.75:1 AA Lc -78.3 Fine for body text
Black text on #517F2A 4.41:1 AA large text Lc 31.3 Non-text elements, placeholder text
#517F2A text on white 4.75:1 AA Lc 72.8 Content text, not long reading
#517F2A text on black 4.41:1 AA large text Lc -28.9 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

    #E6ECE1

    oklch(93.5% 0.016 130.4)

  3. Step 200

    200

    #D1DEC9

    oklch(88.5% 0.032 133.3)

  4. Step 300

    300

    #B2C9A4

    oklch(80.9% 0.057 133.7)

  5. Step 400

    400

    #8AAD72

    oklch(70.7% 0.091 133.2)

  6. Step 500

    500

    #6D984C

    oklch(63% 0.116 133.1)

  7. Step 600

    600 (this color)

    #517F2A

    oklch(54.5% 0.126 133.3)

  8. Step 700

    700

    #446E20

    oklch(49% 0.117 133.4)

  9. Step 800

    800

    #395A1D

    oklch(42.8% 0.097 133.2)

  10. Step 900

    900

    #314A1E

    oklch(37.7% 0.075 133.4)

  11. Step 950

    950

    #1D2B12

    oklch(26.9% 0.047 132.8)

Export this scale for Tailwind in the Tailwind colors tool

#517F2A 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)#84751F0.073
Deuteranopia (no green cones)#7E72310.073
Tritanopia (no blue cones)#517A6D0.093
Achromatopsia (no color)#7373730.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #517F2A

    #517F2A

    oklch(54.5% 0.126 133.3)

  • #8A57A3

    #8A57A3

    oklch(54.4% 0.126 313.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #517F2A

    #517F2A

    oklch(54.5% 0.126 133.3)

  • #7C7200

    #7C7200

    oklch(54.4% 0.115 103.4)

  • #00855C

    #00855C

    oklch(54.6% 0.118 163)

Open the analogous palette in the generator

Split complementary

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

  • #517F2A

    #517F2A

    oklch(54.5% 0.126 133.3)

  • #6764B6

    #6764B6

    oklch(54.4% 0.125 283.1)

  • #A14F83

    #A14F83

    oklch(54.5% 0.126 343.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #517F2A

    #517F2A

    oklch(54.5% 0.126 133.3)

  • #3472B7

    #3472B7

    oklch(54.5% 0.126 253.2)

  • #AC4C5A

    #AC4C5A

    oklch(54.3% 0.126 13.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #517F2A

    #517F2A

    oklch(54.5% 0.126 133.3)

  • #007C9B

    #007C9B

    oklch(54.4% 0.102 223.3)

  • #8A57A3

    #8A57A3

    oklch(54.4% 0.126 313.8)

  • #AB532C

    #AB532C

    oklch(54.4% 0.127 43.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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