#517E10#517E10

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

Color values

HEX#517E10
RGBrgb(81, 126, 16)
HSLhsl(85, 77%, 28%)
HSVhsv(85, 87%, 49%)
CMYKcmyk(35.7%, 0%, 87.3%, 50.6%)
CIE-LABlab(47.89, -32.11, 48.83)
CIE-LCHlch(47.89, 58.45, 123.33°)
OKLaboklab(54% -0.0916 0.1064)
OKLCHoklch(54% 0.14 130.7)
XYZxyz(10.9477, 16.7080, 3.1383)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E10 #3D107E
analogous
#7E7410 #517E10 #1A7E10
triadic
#517E10 #10517E #7E1051
tetradic
#517E10 #107E74 #3D107E #7E101A
square
#517E10 #107E74 #3D107E #7E101A
split-complementary
#517E10 #101A7E #74107E
monochromatic
#111B03 #2E4809 #517E10 #74B417 #95E325

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517E10#FFFFFF#000000##FFFFFF
##517E101.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)
#7E711E
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e10;
/* rgb */ color: rgb(81, 126, 16);
/* oklch */ color: oklch(54.0% 0.140 130.7);
Tailwind
colors: {
  custom: {
    50: '#87a35b',
    500: '#517e10',
    950: '#000000',
  },
}
SCSS
$custom: #517e10;
$custom-light: #87a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#517e10",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 84.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.14045,
    "h": 130.7
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#517E10
secondary
#6936B4
accent
#34F482
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #517E10

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

Preview Lab → · Contrast checker → · Palette generator →

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