#517917#517917

#517917 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.131 H 130.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#517917
RGBrgb(81, 121, 23)
HSLhsl(84, 68%, 28%)
HSVhsv(84, 81%, 47%)
CMYKcmyk(33.1%, 0%, 81%, 52.5%)
CIE-LABlab(46.29, -29.46, 45.35)
CIE-LCHlch(46.29, 54.08, 123.02°)
OKLaboklab(52.71% -0.084 0.1002)
OKLCHoklch(52.71% 0.131 130)
XYZxyz(10.3853, 15.4856, 3.2523)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517917 #3F1779
analogous
#797017 #517917 #207917
triadic
#517917 #175179 #791751
tetradic
#517917 #177970 #3F1779 #791720
square
#517917 #177970 #3F1779 #791720
split-complementary
#517917 #172079 #701779
monochromatic
#111A05 #2F460D #517917 #73AC21 #94D832

Accessibility & contrast

On white

5.13
#517917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#517917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517917
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517917#FFFFFF#000000##FFFFFF
##5179171.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#537367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #517917;
/* rgb */ color: rgb(81, 121, 23);
/* oklch */ color: oklch(52.7% 0.131 130.0);
Tailwind
colors: {
  custom: {
    50: '#86a05d',
    500: '#517917',
    950: '#000000',
  },
}
SCSS
$custom: #517917;
$custom-light: #86a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#517917",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 84.49,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.13078,
    "h": 130
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#517917
secondary
#6C3EAE
accent
#3DEB84
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517917

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

Preview Lab → · Contrast checker → · Palette generator →

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