#517416#517416

#517416 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.125 H 128.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#517416
RGBrgb(81, 116, 22)
HSLhsl(82, 68%, 27%)
HSVhsv(82, 81%, 45%)
CMYKcmyk(30.2%, 0%, 81%, 54.5%)
CIE-LABlab(44.66, -27.13, 44.15)
CIE-LCHlch(44.66, 51.82, 121.56°)
OKLaboklab(51.38% -0.0778 0.0975)
OKLCHoklch(51.38% 0.125 128.6)
XYZxyz(9.7835, 14.2978, 3.0032)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517416 #391674
analogous
#746816 #517416 #227416
triadic
#517416 #165174 #741651
tetradic
#517416 #167468 #391674 #741622
square
#517416 #167468 #391674 #741622
split-complementary
#517416 #162274 #681674
monochromatic
#121A05 #2D410C #517416 #75A720 #98D72D

Accessibility & contrast

On white

5.44
#517416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#517416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517416
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517416#FFFFFF#000000##FFFFFF
##5174161.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#546E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517416;
/* rgb */ color: rgb(81, 116, 22);
/* oklch */ color: oklch(51.4% 0.125 128.6);
Tailwind
colors: {
  custom: {
    50: '#859c5c',
    500: '#517416',
    950: '#000000',
  },
}
SCSS
$custom: #517416;
$custom-light: #859c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517416",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 82.34,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.12475,
    "h": 128.6
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#517416
secondary
#653CAA
accent
#3DEB7E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517416

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

Preview Lab → · Contrast checker → · Palette generator →

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