#518D19#518D19

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

Color values

HEX#518D19
RGBrgb(81, 141, 25)
HSLhsl(91, 70%, 33%)
HSVhsv(91, 82%, 55%)
CMYKcmyk(42.6%, 0%, 82.3%, 44.7%)
CIE-LABlab(52.81, -38.34, 50.75)
CIE-LCHlch(52.81, 63.60, 127.07°)
OKLaboklab(58.04% -0.1078 0.1119)
OKLCHoklch(58.04% 0.155 133.9)
XYZxyz(13.0934, 20.8686, 4.2576)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518D19 #55198D
analogous
#8B8D19 #518D19 #198D1B
triadic
#518D19 #19518D #8D1951
tetradic
#518D19 #198B8D #55198D #8D1B19
square
#518D19 #198B8D #55198D #8D1B19
split-complementary
#518D19 #1B198D #8D198B
monochromatic
#152507 #335910 #518D19 #6FC122 #8EDE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518D19#FFFFFF#000000##000000
##518D191.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)
#8B7C27
Tritanopia (blue-blind)
#508778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #518d19;
/* rgb */ color: rgb(81, 141, 25);
/* oklch */ color: oklch(58.0% 0.155 133.9);
Tailwind
colors: {
  custom: {
    50: '#88af61',
    500: '#518d19',
    950: '#000000',
  },
}
SCSS
$custom: #518d19;
$custom-light: #88af61;
$custom-dark: #000000;
JSON
{
  "hex": "#518d19",
  "rgb": {
    "r": 81,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 91.034,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.1554,
    "h": 133.9
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#518D19
secondary
#8343BF
accent
#3BED97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518D19

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

Preview Lab → · Contrast checker → · Palette generator →

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