#518820#518820

#518820 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.8% C 0.145 H 133.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#518820
RGBrgb(81, 136, 32)
HSLhsl(92, 62%, 33%)
HSVhsv(92, 76%, 53%)
CMYKcmyk(40.4%, 0%, 76.5%, 46.7%)
CIE-LABlab(51.22, -35.77, 46.93)
CIE-LCHlch(51.22, 59.00, 127.32°)
OKLaboklab(56.75% -0.1004 0.105)
OKLCHoklch(56.75% 0.145 133.7)
XYZxyz(12.4580, 19.4613, 4.4662)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518820 #572088
analogous
#858820 #518820 #208823
triadic
#518820 #205188 #882051
tetradic
#518820 #208588 #572088 #882320
square
#518820 #208588 #572088 #882320
split-complementary
#518820 #232088 #882085
monochromatic
#162509 #335614 #518820 #6FBA2C #8DD54D

Accessibility & contrast

On white

4.29
#518820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#518820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518820
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518820#FFFFFF#000000##000000
##5188201.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0A
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#518274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #518820;
/* rgb */ color: rgb(81, 136, 32);
/* oklch */ color: oklch(56.8% 0.145 133.7);
Tailwind
colors: {
  custom: {
    50: '#87ab63',
    500: '#518820',
    950: '#000000',
  },
}
SCSS
$custom: #518820;
$custom-light: #87ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#518820",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 91.731,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.14528,
    "h": 133.7
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#518820
secondary
#854CB8
accent
#43E599
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518820

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

Preview Lab → · Contrast checker → · Palette generator →

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