#517B22#517B22

#517B22 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.127 H 131.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#517B22
RGBrgb(81, 123, 34)
HSLhsl(88, 57%, 31%)
HSVhsv(88, 72%, 48%)
CMYKcmyk(34.1%, 0%, 72.4%, 51.8%)
CIE-LABlab(47.01, -29.70, 41.94)
CIE-LCHlch(47.01, 51.39, 125.31°)
OKLaboklab(53.32% -0.0838 0.0948)
OKLCHoklch(53.32% 0.127 131.5)
XYZxyz(10.7649, 16.0304, 4.0400)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B22 #4C227B
analogous
#7B7822 #517B22 #247B22
triadic
#517B22 #22517B #7B2251
tetradic
#517B22 #227B78 #4C227B #7B2224
square
#517B22 #227B78 #4C227B #7B2224
split-complementary
#517B22 #22247B #78227B
monochromatic
#121B07 #314B15 #517B22 #71AB2F #8FCD4A

Accessibility & contrast

On white

4.99
#517B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#517B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B22
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B22#FFFFFF#000000##FFFFFF
##517B221.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#527669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517b22;
/* rgb */ color: rgb(81, 123, 34);
/* oklch */ color: oklch(53.3% 0.127 131.5);
Tailwind
colors: {
  custom: {
    50: '#85a163',
    500: '#517b22',
    950: '#000000',
  },
}
SCSS
$custom: #517b22;
$custom-light: #85a163;
$custom-dark: #000000;
JSON
{
  "hex": "#517b22",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 88.315,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.12657,
    "h": 131.5
  },
  "luminance": 0.16031
}

Semantic roles & 50–950 ramp

primary
#517B22
secondary
#7A4BAE
accent
#48E090
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0F05
muted
#7C7E7A

Preview Lab

Preview with #517B22

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

Preview Lab → · Contrast checker → · Palette generator →

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