#517916#517916

#517916 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.131 H 129.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#517916
RGBrgb(81, 121, 22)
HSLhsl(84, 69%, 28%)
HSVhsv(84, 82%, 47%)
CMYKcmyk(33.1%, 0%, 81.8%, 52.5%)
CIE-LABlab(46.29, -29.52, 45.67)
CIE-LCHlch(46.29, 54.38, 122.88°)
OKLaboklab(52.7% -0.0843 0.1007)
OKLCHoklch(52.7% 0.131 129.9)
XYZxyz(10.3755, 15.4817, 3.2005)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517916 #3E1679
analogous
#796F16 #517916 #207916
triadic
#517916 #165179 #791651
tetradic
#517916 #16796F #3E1679 #791620
square
#517916 #16796F #3E1679 #791620
split-complementary
#517916 #162079 #6F1679
monochromatic
#111A05 #2E450D #517916 #74AD1F #95D930

Accessibility & contrast

On white

5.13
#517916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#517916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517916
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517916#FFFFFF#000000##FFFFFF
##5179161.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#537367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #517916;
/* rgb */ color: rgb(81, 121, 22);
/* oklch */ color: oklch(52.7% 0.131 129.9);
Tailwind
colors: {
  custom: {
    50: '#86a05d',
    500: '#517916',
    950: '#000000',
  },
}
SCSS
$custom: #517916;
$custom-light: #86a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#517916",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 84.242,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.13132,
    "h": 129.9
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#517916
secondary
#6A3DAE
accent
#3CEC83
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517916

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

Preview Lab → · Contrast checker → · Palette generator →

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