#518719#518719

#518719 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.148 H 133.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#518719
RGBrgb(81, 135, 25)
HSLhsl(89, 69%, 31%)
HSVhsv(89, 81%, 53%)
CMYKcmyk(40%, 0%, 81.5%, 47.1%)
CIE-LABlab(50.86, -35.74, 48.95)
CIE-LCHlch(50.86, 60.61, 126.13°)
OKLaboklab(56.44% -0.1008 0.1081)
OKLCHoklch(56.44% 0.148 133)
XYZxyz(12.2326, 19.1469, 3.9707)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518719 #4F1987
analogous
#878619 #518719 #1A8719
triadic
#518719 #195187 #871951
tetradic
#518719 #198786 #4F1987 #87191A
square
#518719 #198786 #4F1987 #87191A
split-complementary
#518719 #191A87 #861987
monochromatic
#132006 #32530F #518719 #70BB23 #8FDB3F

Accessibility & contrast

On white

4.35
#518719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#518719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518719
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518719#FFFFFF#000000##000000
##5187191.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#518173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #518719;
/* rgb */ color: rgb(81, 135, 25);
/* oklch */ color: oklch(56.4% 0.148 133.0);
Tailwind
colors: {
  custom: {
    50: '#87aa60',
    500: '#518719',
    950: '#000000',
  },
}
SCSS
$custom: #518719;
$custom-light: #87aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#518719",
  "rgb": {
    "r": 81,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 89.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.14785,
    "h": 133
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#518719
secondary
#7D41BA
accent
#3CEC92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518719

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

Preview Lab → · Contrast checker → · Palette generator →

#518719 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva