#517116#517116

#517116 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.121 H 127.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#517116
RGBrgb(81, 113, 22)
HSLhsl(81, 67%, 26%)
HSVhsv(81, 81%, 44%)
CMYKcmyk(28.3%, 0%, 80.5%, 55.7%)
CIE-LABlab(43.68, -25.66, 43.24)
CIE-LCHlch(43.68, 50.28, 120.69°)
OKLaboklab(50.58% -0.0738 0.0956)
OKLCHoklch(50.58% 0.121 127.7)
XYZxyz(9.4433, 13.6173, 2.8898)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517116 #361671
analogous
#716416 #517116 #247116
triadic
#517116 #165171 #711651
tetradic
#517116 #167164 #361671 #711624
square
#517116 #167164 #361671 #711624
split-complementary
#517116 #162471 #641671
monochromatic
#121A05 #2C3E0C #517116 #76A420 #9AD62C

Accessibility & contrast

On white

5.64
#517116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#517116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517116
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517116#FFFFFF#000000##FFFFFF
##5171161.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776901
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517116;
/* rgb */ color: rgb(81, 113, 22);
/* oklch */ color: oklch(50.6% 0.121 127.7);
Tailwind
colors: {
  custom: {
    50: '#859a5b',
    500: '#517116',
    950: '#000000',
  },
}
SCSS
$custom: #517116;
$custom-light: #859a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517116",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 81.099,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.12077,
    "h": 127.7
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#517116
secondary
#623CA7
accent
#3EEA7A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517116

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

Preview Lab → · Contrast checker → · Palette generator →

#517116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva