#517E22#517E22

#517E22 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.131 H 132.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#517E22
RGBrgb(81, 126, 34)
HSLhsl(89, 58%, 31%)
HSVhsv(89, 73%, 49%)
CMYKcmyk(35.7%, 0%, 73%, 50.6%)
CIE-LABlab(47.99, -31.10, 42.93)
CIE-LCHlch(47.99, 53.02, 125.92°)
OKLaboklab(54.12% -0.0876 0.0969)
OKLCHoklch(54.12% 0.131 132.1)
XYZxyz(11.1428, 16.7861, 4.1660)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E22 #4F227E
analogous
#7E7D22 #517E22 #237E22
triadic
#517E22 #22517E #7E2251
tetradic
#517E22 #227E7D #4F227E #7E2223
square
#517E22 #227E7D #4F227E #7E2223
split-complementary
#517E22 #22237E #7D227E
monochromatic
#131E08 #324E15 #517E22 #70AE2F #8FCF4C

Accessibility & contrast

On white

4.82
#517E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#517E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E22
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E22#FFFFFF#000000##FFFFFF
##517E221.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847413
Deuteranopia (green-blind)
#7D712A
Tritanopia (blue-blind)
#52796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e22;
/* rgb */ color: rgb(81, 126, 34);
/* oklch */ color: oklch(54.1% 0.131 132.1);
Tailwind
colors: {
  custom: {
    50: '#86a363',
    500: '#517e22',
    950: '#000000',
  },
}
SCSS
$custom: #517e22;
$custom-light: #86a363;
$custom-dark: #000000;
JSON
{
  "hex": "#517e22",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 89.348,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.13067,
    "h": 132.1
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#517E22
secondary
#7D4BB1
accent
#47E192
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517E22

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#517E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva