#517115#517115

#517115 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.121 H 127.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#517115
RGBrgb(81, 113, 21)
HSLhsl(81, 69%, 26%)
HSVhsv(81, 81%, 44%)
CMYKcmyk(28.3%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.67, -25.71, 43.57)
CIE-LCHlch(43.67, 50.59, 120.55°)
OKLaboklab(50.57% -0.074 0.0961)
OKLCHoklch(50.57% 0.121 127.6)
XYZxyz(9.4338, 13.6135, 2.8400)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517115 #351571
analogous
#716315 #517115 #237115
triadic
#517115 #155171 #711551
tetradic
#517115 #157163 #351571 #711523
square
#517115 #157163 #351571 #711523
split-complementary
#517115 #152371 #631571
monochromatic
#121A05 #2C3D0B #517115 #76A51F #9BD729

Accessibility & contrast

On white

5.64
#517115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#517115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517115
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517115#FFFFFF#000000##FFFFFF
##5171151.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517115;
/* rgb */ color: rgb(81, 113, 21);
/* oklch */ color: oklch(50.6% 0.121 127.6);
Tailwind
colors: {
  custom: {
    50: '#859a5b',
    500: '#517115',
    950: '#000000',
  },
}
SCSS
$custom: #517115;
$custom-light: #859a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517115",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 80.87,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50574,
    "c": 0.12133,
    "h": 127.6
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#517115
secondary
#603BA7
accent
#3CEB79
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517115

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

Preview Lab → · Contrast checker → · Palette generator →

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