#518920#518920

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

Color values

HEX#518920
RGBrgb(81, 137, 32)
HSLhsl(92, 62%, 33%)
HSVhsv(92, 77%, 54%)
CMYKcmyk(40.9%, 0%, 76.6%, 46.3%)
CIE-LABlab(51.55, -36.21, 47.24)
CIE-LCHlch(51.55, 59.52, 127.47°)
OKLaboklab(57.02% -0.1016 0.1056)
OKLCHoklch(57.02% 0.147 133.9)
XYZxyz(12.5995, 19.7443, 4.5134)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518920 #582089
analogous
#858920 #518920 #208923
triadic
#518920 #205189 #892051
tetradic
#518920 #208589 #582089 #892320
square
#518920 #208589 #582089 #892320
split-complementary
#518920 #232089 #892085
monochromatic
#162609 #345714 #518920 #6EBB2C #8DD64E

Accessibility & contrast

On white

4.24
#518920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#518920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518920
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518920#FFFFFF#000000##000000
##5189201.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #518920;
/* rgb */ color: rgb(81, 137, 32);
/* oklch */ color: oklch(57.0% 0.147 133.9);
Tailwind
colors: {
  custom: {
    50: '#87ac64',
    500: '#518920',
    950: '#000000',
  },
}
SCSS
$custom: #518920;
$custom-light: #87ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#518920",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 92,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.14658,
    "h": 133.9
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#518920
secondary
#864CB9
accent
#43E599
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518920

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

Preview Lab → · Contrast checker → · Palette generator →

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