#518E13#518E13

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

Color values

HEX#518E13
RGBrgb(81, 142, 19)
HSLhsl(90, 76%, 32%)
HSVhsv(90, 87%, 56%)
CMYKcmyk(43%, 0%, 86.6%, 44.3%)
CIE-LABlab(53.10, -39.04, 52.65)
CIE-LCHlch(53.10, 65.54, 126.56°)
OKLaboklab(58.27% -0.11 0.115)
OKLCHoklch(58.27% 0.159 133.7)
XYZxyz(13.1837, 21.1416, 4.0020)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E13 #50138E
analogous
#8E8E13 #518E13 #148E13
triadic
#518E13 #13518E #8E1351
tetradic
#518E13 #138E8E #50138E #8E1314
square
#518E13 #138E8E #50138E #8E1314
split-complementary
#518E13 #13148E #8E138E
monochromatic
#132205 #32580C #518E13 #70C41A #8EE437

Accessibility & contrast

On white

4.02
#518E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##518E13#FFFFFF#000000##000000
##518E131.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #518e13;
/* rgb */ color: rgb(81, 142, 19);
/* oklch */ color: oklch(58.3% 0.159 133.7);
Tailwind
colors: {
  custom: {
    50: '#88af5f',
    500: '#518e13',
    950: '#000000',
  },
}
SCSS
$custom: #518e13;
$custom-light: #88af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#518e13",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 89.756,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.15916,
    "h": 133.7
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#518E13
secondary
#7E3BC2
accent
#35F393
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518E13

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

Preview Lab → · Contrast checker → · Palette generator →

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