#518119#518119

#518119 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.140 H 131.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#518119
RGBrgb(81, 129, 25)
HSLhsl(88, 68%, 30%)
HSVhsv(88, 81%, 51%)
CMYKcmyk(37.2%, 0%, 80.6%, 49.4%)
CIE-LABlab(48.91, -33.06, 47.13)
CIE-LCHlch(48.91, 57.57, 125.05°)
OKLaboklab(54.85% -0.0936 0.1043)
OKLCHoklch(54.85% 0.14 131.9)
XYZxyz(11.4189, 17.5196, 3.6995)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518119 #491981
analogous
#817D19 #518119 #1D8119
triadic
#518119 #195181 #811951
tetradic
#518119 #19817D #491981 #81191D
square
#518119 #19817D #491981 #81191D
split-complementary
#518119 #191D81 #7D1981
monochromatic
#111A05 #314E0F #518119 #71B423 #90D93B

Accessibility & contrast

On white

4.66
#518119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#518119 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #518119
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518119#FFFFFF#000000##FFFFFF
##5181191.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#527B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #518119;
/* rgb */ color: rgb(81, 129, 25);
/* oklch */ color: oklch(54.8% 0.140 131.9);
Tailwind
colors: {
  custom: {
    50: '#86a65f',
    500: '#518119',
    950: '#000000',
  },
}
SCSS
$custom: #518119;
$custom-light: #86a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#518119",
  "rgb": {
    "r": 81,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 87.692,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.14015,
    "h": 131.9
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#518119
secondary
#7641B5
accent
#3DEA8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #518119

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

Preview Lab → · Contrast checker → · Palette generator →

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