#518E17#518E17

#518E17 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.158 H 134.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#518E17
RGBrgb(81, 142, 23)
HSLhsl(91, 72%, 32%)
HSVhsv(91, 84%, 56%)
CMYKcmyk(43%, 0%, 83.8%, 44.3%)
CIE-LABlab(53.12, -38.87, 51.61)
CIE-LCHlch(53.12, 64.61, 126.98°)
OKLaboklab(58.29% -0.1094 0.1134)
OKLCHoklch(58.29% 0.158 134)
XYZxyz(13.2208, 21.1565, 4.1974)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E17 #54178E
analogous
#8D8E17 #518E17 #178E18
triadic
#518E17 #17518E #8E1751
tetradic
#518E17 #178D8E #54178E #8E1817
square
#518E17 #178D8E #54178E #8E1817
split-complementary
#518E17 #18178E #8E178D
monochromatic
#152506 #33590E #518E17 #6FC320 #8EE03F

Accessibility & contrast

On white

4.01
#518E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#518E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518E17
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518E17#FFFFFF#000000##000000
##518E171.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#508879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e17;
/* rgb */ color: rgb(81, 142, 23);
/* oklch */ color: oklch(58.3% 0.158 134.0);
Tailwind
colors: {
  custom: {
    50: '#88af60',
    500: '#518e17',
    950: '#000000',
  },
}
SCSS
$custom: #518e17;
$custom-light: #88af60;
$custom-dark: #000000;
JSON
{
  "hex": "#518e17",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 90.756,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.15754,
    "h": 134
  },
  "luminance": 0.21157
}

Semantic roles & 50–950 ramp

primary
#518E17
secondary
#8240C0
accent
#39EF96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518E17

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

Preview Lab → · Contrast checker → · Palette generator →

#518E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva