#518D10#518D10

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

Color values

HEX#518D10
RGBrgb(81, 141, 16)
HSLhsl(89, 80%, 31%)
HSVhsv(89, 89%, 55%)
CMYKcmyk(42.6%, 0%, 88.7%, 44.7%)
CIE-LABlab(52.77, -38.73, 53.06)
CIE-LCHlch(52.77, 65.69, 126.13°)
OKLaboklab(58% -0.1094 0.1154)
OKLCHoklch(58% 0.159 133.5)
XYZxyz(13.0115, 20.8358, 3.8262)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518D10 #4C108D
analogous
#8D8A10 #518D10 #128D10
triadic
#518D10 #10518D #8D1051
tetradic
#518D10 #108D8A #4C108D #8D1012
square
#518D10 #108D8A #4C108D #8D1012
split-complementary
#518D10 #10128D #8A108D
monochromatic
#121F04 #31560A #518D10 #71C416 #8FE730

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518D10#FFFFFF#000000##000000
##518D101.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)
#8B7C21
Tritanopia (blue-blind)
#518777
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #518d10;
/* rgb */ color: rgb(81, 141, 16);
/* oklch */ color: oklch(58.0% 0.159 133.5);
Tailwind
colors: {
  custom: {
    50: '#88af5e',
    500: '#518d10',
    950: '#000000',
  },
}
SCSS
$custom: #518d10;
$custom-light: #88af5e;
$custom-dark: #000000;
JSON
{
  "hex": "#518d10",
  "rgb": {
    "r": 81,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 88.8,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.15902,
    "h": 133.5
  },
  "luminance": 0.20836
}

Semantic roles & 50–950 ramp

primary
#518D10
secondary
#7A37C2
accent
#32F690
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518D10

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

Preview Lab → · Contrast checker → · Palette generator →

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