#517015#517015

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

Color values

HEX#517015
RGBrgb(81, 112, 21)
HSLhsl(80, 68%, 26%)
HSVhsv(80, 81%, 44%)
CMYKcmyk(27.7%, 0%, 81.2%, 56.1%)
CIE-LABlab(43.35, -25.22, 43.27)
CIE-LCHlch(43.35, 50.08, 120.23°)
OKLaboklab(50.31% -0.0727 0.0955)
OKLCHoklch(50.31% 0.12 127.3)
XYZxyz(9.3229, 13.3916, 2.8030)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517015 #341570
analogous
#706115 #517015 #237015
triadic
#517015 #155170 #701551
tetradic
#517015 #157061 #341570 #701523
square
#517015 #157061 #341570 #701523
split-complementary
#517015 #152370 #611570
monochromatic
#131A05 #2C3C0B #517015 #76A41F #9BD729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517015#FFFFFF#000000##FFFFFF
##5170151.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)
#72661E
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #517015;
/* rgb */ color: rgb(81, 112, 21);
/* oklch */ color: oklch(50.3% 0.120 127.3);
Tailwind
colors: {
  custom: {
    50: '#85995b',
    500: '#517015',
    950: '#000000',
  },
}
SCSS
$custom: #517015;
$custom-light: #85995b;
$custom-dark: #000000;
JSON
{
  "hex": "#517015",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 80.44,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.12001,
    "h": 127.3
  },
  "luminance": 0.13392
}

Semantic roles & 50–950 ramp

primary
#517015
secondary
#5F3BA6
accent
#3DEB78
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517015

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

Preview Lab → · Contrast checker → · Palette generator →

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