#517017#517017

#517017 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#517017
RGBrgb(81, 112, 23)
HSLhsl(81, 66%, 26%)
HSVhsv(81, 79%, 44%)
CMYKcmyk(27.7%, 0%, 79.5%, 56.1%)
CIE-LABlab(43.36, -25.11, 42.58)
CIE-LCHlch(43.36, 49.43, 120.52°)
OKLaboklab(50.32% -0.0722 0.0944)
OKLCHoklch(50.32% 0.119 127.4)
XYZxyz(9.3422, 13.3993, 2.9046)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517017 #361770
analogous
#706317 #517017 #257017
triadic
#517017 #175170 #701751
tetradic
#517017 #177063 #361770 #701725
square
#517017 #177063 #361770 #701725
split-complementary
#517017 #172570 #631770
monochromatic
#121905 #2C3D0D #517017 #76A321 #9AD42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517017#FFFFFF#000000##FFFFFF
##5170171.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)
#766803
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#546B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #517017;
/* rgb */ color: rgb(81, 112, 23);
/* oklch */ color: oklch(50.3% 0.119 127.4);
Tailwind
colors: {
  custom: {
    50: '#85995c',
    500: '#517017',
    950: '#000000',
  },
}
SCSS
$custom: #517017;
$custom-light: #85995c;
$custom-dark: #000000;
JSON
{
  "hex": "#517017",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 80.899,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.11886,
    "h": 127.4
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

primary
#517017
secondary
#623DA6
accent
#3FE97A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517017

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

Preview Lab → · Contrast checker → · Palette generator →

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