#517013#517013

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

Color values

HEX#517013
RGBrgb(81, 112, 19)
HSLhsl(80, 71%, 26%)
HSVhsv(80, 83%, 44%)
CMYKcmyk(27.7%, 0%, 83%, 56.1%)
CIE-LABlab(43.34, -25.32, 43.92)
CIE-LCHlch(43.34, 50.69, 119.96°)
OKLaboklab(50.3% -0.0731 0.0965)
OKLCHoklch(50.3% 0.121 127.2)
XYZxyz(9.3051, 13.3845, 2.7092)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517013 #321370
analogous
#706013 #517013 #227013
triadic
#517013 #135170 #701351
tetradic
#517013 #137060 #321370 #701322
square
#517013 #137060 #321370 #701322
split-complementary
#517013 #132270 #601370
monochromatic
#131A04 #2B3C0A #517013 #77A41C #9DD925

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517013#FFFFFF#000000##FFFFFF
##5170131.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)
#766800
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #517013;
/* rgb */ color: rgb(81, 112, 19);
/* oklch */ color: oklch(50.3% 0.121 127.2);
Tailwind
colors: {
  custom: {
    50: '#85995a',
    500: '#517013',
    950: '#000000',
  },
}
SCSS
$custom: #517013;
$custom-light: #85995a;
$custom-dark: #000000;
JSON
{
  "hex": "#517013",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 80,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.12107,
    "h": 127.2
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#517013
secondary
#5D38A7
accent
#3AEE76
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517013

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

Preview Lab → · Contrast checker → · Palette generator →

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