#518E16#518E16

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

Color values

HEX#518E16
RGBrgb(81, 142, 22)
HSLhsl(91, 73%, 32%)
HSVhsv(91, 85%, 56%)
CMYKcmyk(43%, 0%, 84.5%, 44.3%)
CIE-LABlab(53.12, -38.91, 51.88)
CIE-LCHlch(53.12, 64.85, 126.87°)
OKLaboklab(58.29% -0.1095 0.1138)
OKLCHoklch(58.29% 0.158 133.9)
XYZxyz(13.2109, 21.1525, 4.1456)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E16 #53168E
analogous
#8D8E16 #518E16 #168E17
triadic
#518E16 #16518E #8E1651
tetradic
#518E16 #168D8E #53168E #8E1716
square
#518E16 #168D8E #53168E #8E1716
split-complementary
#518E16 #17168E #8E168D
monochromatic
#152406 #33590E #518E16 #6FC31E #8EE13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518E16#FFFFFF#000000##000000
##518E161.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)
#8C7D25
Tritanopia (blue-blind)
#508879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #518e16;
/* rgb */ color: rgb(81, 142, 22);
/* oklch */ color: oklch(58.3% 0.158 133.9);
Tailwind
colors: {
  custom: {
    50: '#88af60',
    500: '#518e16',
    950: '#000000',
  },
}
SCSS
$custom: #518e16;
$custom-light: #88af60;
$custom-dark: #000000;
JSON
{
  "hex": "#518e16",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 90.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.15797,
    "h": 133.9
  },
  "luminance": 0.21153
}

Semantic roles & 50–950 ramp

primary
#518E16
secondary
#813FC1
accent
#38F095
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518E16

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

Preview Lab → · Contrast checker → · Palette generator →

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