#518319#518319

#518319 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.143 H 132.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#518319
RGBrgb(81, 131, 25)
HSLhsl(88, 68%, 31%)
HSVhsv(88, 81%, 51%)
CMYKcmyk(38.2%, 0%, 80.9%, 48.6%)
CIE-LABlab(49.56, -33.96, 47.74)
CIE-LCHlch(49.56, 58.59, 125.43°)
OKLaboklab(55.38% -0.0961 0.1056)
OKLCHoklch(55.38% 0.143 132.3)
XYZxyz(11.6850, 18.0516, 3.7881)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518319 #4B1983
analogous
#838019 #518319 #1C8319
triadic
#518319 #195183 #831951
tetradic
#518319 #198380 #4B1983 #83191C
square
#518319 #198380 #4B1983 #83191C
split-complementary
#518319 #191C83 #801983
monochromatic
#111C05 #31500F #518319 #71B623 #90DA3D

Accessibility & contrast

On white

4.55
#518319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#518319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518319
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518319#FFFFFF#000000##000000
##5183191.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#527D6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #518319;
/* rgb */ color: rgb(81, 131, 25);
/* oklch */ color: oklch(55.4% 0.143 132.3);
Tailwind
colors: {
  custom: {
    50: '#87a75f',
    500: '#518319',
    950: '#000000',
  },
}
SCSS
$custom: #518319;
$custom-light: #87a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#518319",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 88.302,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55378,
    "c": 0.14273,
    "h": 132.3
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#518319
secondary
#7941B7
accent
#3DEB8F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #518319

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

Preview Lab → · Contrast checker → · Palette generator →

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