#518F19#518F19

#518F19 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.158 H 134.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#518F19
RGBrgb(81, 143, 25)
HSLhsl(92, 70%, 33%)
HSVhsv(92, 83%, 56%)
CMYKcmyk(43.4%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.45, -39.20, 51.34)
CIE-LCHlch(53.45, 64.59, 127.36°)
OKLaboklab(58.57% -0.1101 0.1131)
OKLCHoklch(58.57% 0.158 134.2)
XYZxyz(13.3910, 21.4637, 4.3568)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518F19 #57198F
analogous
#8C8F19 #518F19 #198F1C
triadic
#518F19 #19518F #8F1951
tetradic
#518F19 #198C8F #57198F #8F1C19
square
#518F19 #198C8F #57198F #8F1C19
split-complementary
#518F19 #1C198F #8F198C
monochromatic
#162707 #335B10 #518F19 #6FC322 #8DDE44

Accessibility & contrast

On white

3.97
#518F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#518F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518F19
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518F19#FFFFFF#000000##000000
##518F191.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#50897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #518f19;
/* rgb */ color: rgb(81, 143, 25);
/* oklch */ color: oklch(58.6% 0.158 134.2);
Tailwind
colors: {
  custom: {
    50: '#88b061',
    500: '#518f19',
    950: '#000000',
  },
}
SCSS
$custom: #518f19;
$custom-light: #88b061;
$custom-dark: #000000;
JSON
{
  "hex": "#518f19",
  "rgb": {
    "r": 81,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 91.525,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58567,
    "c": 0.15788,
    "h": 134.2
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#518F19
secondary
#8544BF
accent
#3BED98
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #518F19

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

Preview Lab → · Contrast checker → · Palette generator →

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