#518E19#518E19

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

Color values

HEX#518E19
RGBrgb(81, 142, 25)
HSLhsl(91, 70%, 33%)
HSVhsv(91, 82%, 56%)
CMYKcmyk(43%, 0%, 82.4%, 44.3%)
CIE-LABlab(53.13, -38.77, 51.04)
CIE-LCHlch(53.13, 64.10, 127.22°)
OKLaboklab(58.3% -0.109 0.1125)
OKLCHoklch(58.3% 0.157 134.1)
XYZxyz(13.2416, 21.1648, 4.3070)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518E19 #56198E
analogous
#8B8E19 #518E19 #198E1B
triadic
#518E19 #19518E #8E1951
tetradic
#518E19 #198B8E #56198E #8E1B19
square
#518E19 #198B8E #56198E #8E1B19
split-complementary
#518E19 #1B198E #8E198B
monochromatic
#162607 #335A10 #518E19 #6FC222 #8DDE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #518e19;
/* rgb */ color: rgb(81, 142, 25);
/* oklch */ color: oklch(58.3% 0.157 134.1);
Tailwind
colors: {
  custom: {
    50: '#88af61',
    500: '#518e19',
    950: '#000000',
  },
}
SCSS
$custom: #518e19;
$custom-light: #88af61;
$custom-dark: #000000;
JSON
{
  "hex": "#518e19",
  "rgb": {
    "r": 81,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 91.282,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.15664,
    "h": 134.1
  },
  "luminance": 0.21166
}

Semantic roles & 50–950 ramp

primary
#518E19
secondary
#8444BF
accent
#3BED98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518E19

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

Preview Lab → · Contrast checker → · Palette generator →

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