#518919#518919

#518919 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.0% C 0.150 H 133.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#518919
RGBrgb(81, 137, 25)
HSLhsl(90, 69%, 32%)
HSVhsv(90, 82%, 54%)
CMYKcmyk(40.9%, 0%, 81.8%, 46.3%)
CIE-LABlab(51.51, -36.62, 49.55)
CIE-LCHlch(51.51, 61.61, 126.46°)
OKLaboklab(56.97% -0.1032 0.1094)
OKLCHoklch(56.97% 0.15 133.3)
XYZxyz(12.5143, 19.7102, 4.0646)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518919 #511989
analogous
#898919 #518919 #198919
triadic
#518919 #195189 #891951
tetradic
#518919 #198989 #511989 #891919
square
#518919 #198989 #511989 #891919
split-complementary
#518919 #191989 #891989
monochromatic
#142106 #325510 #518919 #70BD22 #8EDC40

Accessibility & contrast

On white

4.25
#518919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#518919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518919
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518919#FFFFFF#000000##000000
##5189191.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #518919;
/* rgb */ color: rgb(81, 137, 25);
/* oklch */ color: oklch(57.0% 0.150 133.3);
Tailwind
colors: {
  custom: {
    50: '#87ac60',
    500: '#518919',
    950: '#000000',
  },
}
SCSS
$custom: #518919;
$custom-light: #87ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#518919",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 90,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.15037,
    "h": 133.3
  },
  "luminance": 0.19711
}

Semantic roles & 50–950 ramp

primary
#518919
secondary
#7F41BC
accent
#3CEC94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518919

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

Preview Lab → · Contrast checker → · Palette generator →

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