#517F22#517F22

#517F22 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.4% C 0.132 H 132.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#517F22
RGBrgb(81, 127, 34)
HSLhsl(90, 58%, 32%)
HSVhsv(90, 73%, 50%)
CMYKcmyk(36.2%, 0%, 73.2%, 50.2%)
CIE-LABlab(48.31, -31.57, 43.26)
CIE-LCHlch(48.31, 53.56, 126.12°)
OKLaboklab(54.38% -0.0889 0.0976)
OKLCHoklch(54.38% 0.132 132.3)
XYZxyz(11.2713, 17.0431, 4.2088)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F22 #50227F
analogous
#7F7F22 #517F22 #237F22
triadic
#517F22 #22517F #7F2251
tetradic
#517F22 #227F7F #50227F #7F2223
square
#517F22 #227F7F #50227F #7F2223
split-complementary
#517F22 #22237F #7F227F
monochromatic
#131E08 #324F15 #517F22 #70AF2F #8ECF4C

Accessibility & contrast

On white

4.76
#517F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#517F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517F22
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517F22#FFFFFF#000000##FFFFFF
##517F221.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857513
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#527A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517f22;
/* rgb */ color: rgb(81, 127, 34);
/* oklch */ color: oklch(54.4% 0.132 132.3);
Tailwind
colors: {
  custom: {
    50: '#86a463',
    500: '#517f22',
    950: '#000000',
  },
}
SCSS
$custom: #517f22;
$custom-light: #86a463;
$custom-dark: #000000;
JSON
{
  "hex": "#517f22",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 89.677,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5438,
    "c": 0.13203,
    "h": 132.3
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#517F22
secondary
#7E4BB2
accent
#47E193
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517F22

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

Preview Lab → · Contrast checker → · Palette generator →

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