#517316#517316

#517316 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.123 H 128.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#517316
RGBrgb(81, 115, 22)
HSLhsl(82, 68%, 27%)
HSVhsv(82, 81%, 45%)
CMYKcmyk(29.6%, 0%, 80.9%, 54.9%)
CIE-LABlab(44.33, -26.64, 43.85)
CIE-LCHlch(44.33, 51.31, 121.28°)
OKLaboklab(51.11% -0.0765 0.0969)
OKLCHoklch(51.11% 0.123 128.3)
XYZxyz(9.6689, 14.0685, 2.9650)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517316 #381673
analogous
#736716 #517316 #237316
triadic
#517316 #165173 #731651
tetradic
#517316 #167367 #381673 #731623
square
#517316 #167367 #381673 #731623
split-complementary
#517316 #162373 #671673
monochromatic
#121A05 #2D400C #517316 #75A620 #99D72D

Accessibility & contrast

On white

5.51
#517316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#517316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517316
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517316#FFFFFF#000000##FFFFFF
##5173161.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#546D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #517316;
/* rgb */ color: rgb(81, 115, 22);
/* oklch */ color: oklch(51.1% 0.123 128.3);
Tailwind
colors: {
  custom: {
    50: '#859b5c',
    500: '#517316',
    950: '#000000',
  },
}
SCSS
$custom: #517316;
$custom-light: #859b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517316",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 81.935,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.12342,
    "h": 128.3
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#517316
secondary
#643CA9
accent
#3DEB7D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517316

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

Preview Lab → · Contrast checker → · Palette generator →

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