#517E11#517E11

#517E11 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.140 H 130.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#517E11
RGBrgb(81, 126, 17)
HSLhsl(85, 76%, 28%)
HSVhsv(85, 87%, 49%)
CMYKcmyk(35.7%, 0%, 86.5%, 50.6%)
CIE-LABlab(47.89, -32.07, 48.58)
CIE-LCHlch(47.89, 58.21, 123.43°)
OKLaboklab(54.01% -0.0915 0.1061)
OKLCHoklch(54.01% 0.14 130.8)
XYZxyz(10.9553, 16.7111, 3.1786)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E11 #3E117E
analogous
#7E7411 #517E11 #1A7E11
triadic
#517E11 #11517E #7E1151
tetradic
#517E11 #117E74 #3E117E #7E111A
square
#517E11 #117E74 #3E117E #7E111A
split-complementary
#517E11 #111A7E #74117E
monochromatic
#111B04 #2E480A #517E11 #74B418 #95E227

Accessibility & contrast

On white

4.84
#517E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#517E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E11
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E11#FFFFFF#000000##FFFFFF
##517E111.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e11;
/* rgb */ color: rgb(81, 126, 17);
/* oklch */ color: oklch(54.0% 0.140 130.8);
Tailwind
colors: {
  custom: {
    50: '#86a35c',
    500: '#517e11',
    950: '#000000',
  },
}
SCSS
$custom: #517e11;
$custom-light: #86a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#517e11",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 84.771,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.14005,
    "h": 130.8
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#517E11
secondary
#6A37B4
accent
#35F383
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #517E11

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

Preview Lab → · Contrast checker → · Palette generator →

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