#518822#518822

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

Color values

HEX#518822
RGBrgb(81, 136, 34)
HSLhsl(92, 60%, 33%)
HSVhsv(92, 75%, 53%)
CMYKcmyk(40.4%, 0%, 75%, 46.7%)
CIE-LABlab(51.24, -35.63, 46.20)
CIE-LCHlch(51.24, 58.34, 127.64°)
OKLaboklab(56.77% -0.0999 0.1038)
OKLCHoklch(56.77% 0.144 133.9)
XYZxyz(12.4860, 19.4725, 4.6137)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518822 #592288
analogous
#848822 #518822 #228826
triadic
#518822 #225188 #882251
tetradic
#518822 #228488 #592288 #882622
square
#518822 #228488 #592288 #882622
split-complementary
#518822 #262288 #882284
monochromatic
#17260A #345716 #518822 #6EB92E #8DD351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518822#FFFFFF#000000##000000
##5188221.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)
#8D7D0F
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#518274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #518822;
/* rgb */ color: rgb(81, 136, 34);
/* oklch */ color: oklch(56.8% 0.144 133.9);
Tailwind
colors: {
  custom: {
    50: '#87ab64',
    500: '#518822',
    950: '#000000',
  },
}
SCSS
$custom: #518822;
$custom-light: #87ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#518822",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 92.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.14405,
    "h": 133.9
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#518822
secondary
#874FB7
accent
#45E39A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518822

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

Preview Lab → · Contrast checker → · Palette generator →

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