#517020#517020

#517020 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.113 H 128.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#517020
RGBrgb(81, 112, 32)
HSLhsl(83, 56%, 28%)
HSVhsv(83, 71%, 44%)
CMYKcmyk(27.7%, 0%, 71.4%, 56.1%)
CIE-LABlab(43.42, -24.51, 39.08)
CIE-LCHlch(43.42, 46.13, 122.09°)
OKLaboklab(50.39% -0.0698 0.0886)
OKLCHoklch(50.39% 0.113 128.2)
XYZxyz(9.4482, 13.4417, 3.4629)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517020 #3F2070
analogous
#706720 #517020 #297020
triadic
#517020 #205170 #702051
tetradic
#517020 #207067 #3F2070 #702029
square
#517020 #207067 #3F2070 #702029
split-complementary
#517020 #202970 #672070
monochromatic
#111807 #2F4012 #517020 #73A02E #94C942

Accessibility & contrast

On white

5.69
#517020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#517020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517020
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517020#FFFFFF#000000##FFFFFF
##5170201.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517020;
/* rgb */ color: rgb(81, 112, 32);
/* oklch */ color: oklch(50.4% 0.113 128.2);
Tailwind
colors: {
  custom: {
    50: '#859960',
    500: '#517020',
    950: '#000000',
  },
}
SCSS
$custom: #517020;
$custom-light: #859960;
$custom-dark: #000000;
JSON
{
  "hex": "#517020",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 83.25,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.11275,
    "h": 128.2
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#517020
secondary
#6C48A4
accent
#49DF83
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517020

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

Preview Lab → · Contrast checker → · Palette generator →

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