#518D14#518D14

#518D14 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.158 H 133.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#518D14
RGBrgb(81, 141, 20)
HSLhsl(90, 75%, 32%)
HSVhsv(90, 86%, 55%)
CMYKcmyk(42.6%, 0%, 85.8%, 44.7%)
CIE-LABlab(52.78, -38.57, 52.11)
CIE-LCHlch(52.78, 64.84, 126.51°)
OKLaboklab(58.01% -0.1087 0.114)
OKLCHoklch(58.01% 0.158 133.6)
XYZxyz(13.0443, 20.8489, 3.9986)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518D14 #50148D
analogous
#8D8D14 #518D14 #158D14
triadic
#518D14 #14518D #8D1451
tetradic
#518D14 #148D8D #50148D #8D1415
square
#518D14 #148D8D #50148D #8D1415
split-complementary
#518D14 #14158D #8D148D
monochromatic
#132205 #32570C #518D14 #70C31C #8EE339

Accessibility & contrast

On white

4.06
#518D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#518D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518D14
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518D14#FFFFFF#000000##000000
##518D141.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #518d14;
/* rgb */ color: rgb(81, 141, 20);
/* oklch */ color: oklch(58.0% 0.158 133.6);
Tailwind
colors: {
  custom: {
    50: '#88af5f',
    500: '#518d14',
    950: '#000000',
  },
}
SCSS
$custom: #518d14;
$custom-light: #88af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#518d14",
  "rgb": {
    "r": 81,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 89.752,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.15755,
    "h": 133.6
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#518D14
secondary
#7E3CC1
accent
#36F293
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518D14

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

Preview Lab → · Contrast checker → · Palette generator →

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