#517016#517016

#517016 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.119 H 127.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#517016
RGBrgb(81, 112, 22)
HSLhsl(81, 67%, 26%)
HSVhsv(81, 80%, 44%)
CMYKcmyk(27.7%, 0%, 80.4%, 56.1%)
CIE-LABlab(43.35, -25.16, 42.93)
CIE-LCHlch(43.35, 49.76, 120.38°)
OKLaboklab(50.32% -0.0725 0.095)
OKLCHoklch(50.32% 0.119 127.4)
XYZxyz(9.3324, 13.3954, 2.8528)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517016 #351670
analogous
#706216 #517016 #247016
triadic
#517016 #165170 #701651
tetradic
#517016 #167062 #351670 #701624
square
#517016 #167062 #351670 #701624
split-complementary
#517016 #162470 #621670
monochromatic
#121A05 #2C3D0C #517016 #76A320 #9BD52B

Accessibility & contrast

On white

5.71
#517016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#517016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517016
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517016#FFFFFF#000000##FFFFFF
##5170161.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766801
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #517016;
/* rgb */ color: rgb(81, 112, 22);
/* oklch */ color: oklch(50.3% 0.119 127.4);
Tailwind
colors: {
  custom: {
    50: '#85995b',
    500: '#517016',
    950: '#000000',
  },
}
SCSS
$custom: #517016;
$custom-light: #85995b;
$custom-dark: #000000;
JSON
{
  "hex": "#517016",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 80.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.11945,
    "h": 127.4
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#517016
secondary
#603CA6
accent
#3EEA79
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517016

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

Preview Lab → · Contrast checker → · Palette generator →

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