#517B15#517B15

#517B15 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.134 H 130.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#517B15
RGBrgb(81, 123, 21)
HSLhsl(85, 71%, 28%)
HSVhsv(85, 83%, 48%)
CMYKcmyk(34.1%, 0%, 82.9%, 51.8%)
CIE-LABlab(46.93, -30.51, 46.58)
CIE-LCHlch(46.93, 55.68, 123.22°)
OKLaboklab(53.23% -0.087 0.1025)
OKLCHoklch(53.23% 0.134 130.3)
XYZxyz(10.6116, 15.9690, 3.2325)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B15 #3F157B
analogous
#7B7215 #517B15 #1E7B15
triadic
#517B15 #15517B #7B1551
tetradic
#517B15 #157B72 #3F157B #7B151E
square
#517B15 #157B72 #3F157B #7B151E
split-complementary
#517B15 #151E7B #72157B
monochromatic
#111A04 #2F470C #517B15 #73AF1E #94DB2F

Accessibility & contrast

On white

5.01
#517B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#517B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B15
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B15#FFFFFF#000000##FFFFFF
##517B151.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#537568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517b15;
/* rgb */ color: rgb(81, 123, 21);
/* oklch */ color: oklch(53.2% 0.134 130.3);
Tailwind
colors: {
  custom: {
    50: '#86a15d',
    500: '#517b15',
    950: '#000000',
  },
}
SCSS
$custom: #517b15;
$custom-light: #86a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#517b15",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 84.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.13442,
    "h": 130.3
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#517B15
secondary
#6C3BB0
accent
#3AEE84
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #517B15

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

Preview Lab → · Contrast checker → · Palette generator →

#517B15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva