#517A2A

Closest named color: Olive Green (#677A04). oklch(53.1% 0.119 132.3), rgb(81, 122, 42).

Aa

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

About this color

#517A2A is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.119 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.031 away. White text reads best on it, at 5.03:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameOlive Green (#677A04)
Black text4.16:1
White text5.03:1

Values

HEX#517A2A
RGBrgb(81, 122, 42)
HSLhsl(91, 49%, 32%)
OKLCHoklch(53.1% 0.119 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 #517A2A 5.03:1 AA Lc -80.1 Fine for body text
Black text on #517A2A 4.16:1 AA large text Lc 29.4 Dividers and decoration only
#517A2A text on white 5.03:1 AA Lc 74.7 Content text, not long reading
#517A2A text on black 4.16:1 AA large text Lc -27.0 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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E6ECE2

    oklch(93.6% 0.015 132.5)

  3. Step 200

    200

    #D2DECA

    oklch(88.6% 0.03 132.6)

  4. Step 300

    300

    #B4C8A5

    oklch(80.8% 0.053 131.9)

  5. Step 400

    400

    #8DAC74

    oklch(70.7% 0.085 131.8)

  6. Step 500

    500

    #70974F

    oklch(63% 0.109 132.1)

  7. Step 600

    600 (this color)

    #517A2A

    oklch(53.1% 0.119 132.3)

  8. Step 700

    700

    #486D24

    oklch(49% 0.11 132.1)

  9. Step 800

    800

    #3B5920

    oklch(42.7% 0.091 132.4)

  10. Step 900

    900

    #33491F

    oklch(37.6% 0.071 131.8)

  11. Step 950

    950

    #1E2B13

    oklch(27% 0.045 132)

Export this scale for Tailwind in the Tailwind colors tool

#517A2A 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)#7F71200.067
Deuteranopia (no green cones)#796E300.067
Tritanopia (no blue cones)#5275690.089
Achromatopsia (no color)#6F6F6F0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #517A2A

    #517A2A

    oklch(53.1% 0.119 132.3)

  • #83569D

    #83569D

    oklch(53.1% 0.118 312.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #517A2A

    #517A2A

    oklch(53.1% 0.119 132.3)

  • #796E00

    #796E00

    oklch(53.2% 0.112 102.6)

  • #008057

    #008057

    oklch(53% 0.116 162.2)

Open the analogous palette in the generator

Split complementary

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

  • #517A2A

    #517A2A

    oklch(53.1% 0.119 132.3)

  • #6361AE

    #6361AE

    oklch(53.1% 0.119 282.7)

  • #9A4D7F

    #9A4D7F

    oklch(53.1% 0.12 342.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #517A2A

    #517A2A

    oklch(53.1% 0.119 132.3)

  • #326EAF

    #326EAF

    oklch(53.1% 0.12 252.6)

  • #A54B59

    #A54B59

    oklch(53.1% 0.119 12.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #517A2A

    #517A2A

    oklch(53.1% 0.119 132.3)

  • #007895

    #007895

    oklch(53.1% 0.098 222.4)

  • #83569D

    #83569D

    oklch(53.1% 0.118 312.1)

  • #A4512F

    #A4512F

    oklch(53.1% 0.12 42)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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