#517E18#517E18

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

Color values

HEX#517E18
RGBrgb(81, 126, 24)
HSLhsl(86, 68%, 29%)
HSVhsv(86, 81%, 49%)
CMYKcmyk(35.7%, 0%, 81%, 50.6%)
CIE-LABlab(47.93, -31.74, 46.54)
CIE-LCHlch(47.93, 56.34, 124.29°)
OKLaboklab(54.04% -0.0901 0.1029)
OKLCHoklch(54.04% 0.137 131.2)
XYZxyz(11.0190, 16.7366, 3.5139)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E18 #45187E
analogous
#7E7818 #517E18 #1E7E18
triadic
#517E18 #18517E #7E1851
tetradic
#517E18 #187E78 #45187E #7E181E
square
#517E18 #187E78 #45187E #7E181E
split-complementary
#517E18 #181E7E #78187E
monochromatic
#111A05 #304B0E #517E18 #72B122 #92D937

Accessibility & contrast

On white

4.83
#517E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#517E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E18
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E18#FFFFFF#000000##FFFFFF
##517E181.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517e18;
/* rgb */ color: rgb(81, 126, 24);
/* oklch */ color: oklch(54.0% 0.137 131.2);
Tailwind
colors: {
  custom: {
    50: '#86a35e',
    500: '#517e18',
    950: '#000000',
  },
}
SCSS
$custom: #517e18;
$custom-light: #86a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#517e18",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 86.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.13678,
    "h": 131.2
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#517E18
secondary
#723FB2
accent
#3DEB8A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517E18

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

Preview Lab → · Contrast checker → · Palette generator →

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