#517F22

Closest named color: Olive Green (#677A04). oklch(54.4% 0.132 132.3), rgb(81, 127, 34).

Aa

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

About this color

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

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

Values

HEX#517F22
RGBrgb(81, 127, 34)
HSLhsl(90, 58%, 32%)
OKLCHoklch(54.4% 0.132 132.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 #517F22 4.76:1 AA Lc -78.3 Fine for body text
Black text on #517F22 4.40:1 AA large text Lc 31.2 Non-text elements, placeholder text
#517F22 text on white 4.76:1 AA Lc 72.9 Content text, not long reading
#517F22 text on black 4.40: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

    #E6ECE1

    oklch(93.5% 0.016 130.4)

  3. Step 200

    200

    #D1DEC8

    oklch(88.5% 0.033 132.3)

  4. Step 300

    300

    #B2C9A2

    oklch(80.8% 0.059 132.6)

  5. Step 400

    400

    #8AAD6F

    oklch(70.6% 0.094 132.3)

  6. Step 500

    500

    #6D9947

    oklch(63.2% 0.122 132.3)

  7. Step 600

    600 (this color)

    #517F22

    oklch(54.4% 0.132 132.3)

  8. Step 700

    700

    #456E18

    oklch(49% 0.122 132.1)

  9. Step 800

    800

    #395A17

    oklch(42.7% 0.102 132.1)

  10. Step 900

    900

    #314A1A

    oklch(37.7% 0.079 132.2)

  11. Step 950

    950

    #1D2B10

    oklch(26.9% 0.05 131.6)

Export this scale for Tailwind in the Tailwind colors tool

#517F22 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)#8575130.074
Deuteranopia (no green cones)#7E712A0.075
Tritanopia (no blue cones)#527A6D0.099
Achromatopsia (no color)#7373730.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #517F22

    #517F22

    oklch(54.4% 0.132 132.3)

  • #8A56A6

    #8A56A6

    oklch(54.4% 0.132 312.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #517F22

    #517F22

    oklch(54.4% 0.132 132.3)

  • #7D7100

    #7D7100

    oklch(54.3% 0.114 102.1)

  • #00855A

    #00855A

    oklch(54.5% 0.12 161.9)

Open the analogous palette in the generator

Split complementary

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

  • #517F22

    #517F22

    oklch(54.4% 0.132 132.3)

  • #6663BA

    #6663BA

    oklch(54.4% 0.133 282.6)

  • #A24D85

    #A24D85

    oklch(54.5% 0.131 342.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #517F22

    #517F22

    oklch(54.4% 0.132 132.3)

  • #2D72BA

    #2D72BA

    oklch(54.5% 0.132 252.3)

  • #AE4A5B

    #AE4A5B

    oklch(54.4% 0.131 12.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #517F22

    #517F22

    oklch(54.4% 0.132 132.3)

  • #007C9A

    #007C9A

    oklch(54.4% 0.101 222.5)

  • #8A56A6

    #8A56A6

    oklch(54.4% 0.132 312.7)

  • #AD5129

    #AD5129

    oklch(54.4% 0.132 42.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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