#518522#518522

#518522 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.140 H 133.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#518522
RGBrgb(81, 133, 34)
HSLhsl(92, 59%, 33%)
HSVhsv(92, 74%, 52%)
CMYKcmyk(39.1%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.26, -34.30, 45.23)
CIE-LCHlch(50.26, 56.76, 127.18°)
OKLaboklab(55.97% -0.0963 0.1017)
OKLCHoklch(55.97% 0.14 133.4)
XYZxyz(12.0694, 18.6393, 4.4749)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518522 #562285
analogous
#828522 #518522 #228524
triadic
#518522 #225185 #852251
tetradic
#518522 #228285 #562285 #852422
square
#518522 #228285 #562285 #852422
split-complementary
#518522 #242285 #852282
monochromatic
#162409 #335416 #518522 #6FB62E #8DD24F

Accessibility & contrast

On white

4.44
#518522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#518522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518522
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518522#FFFFFF#000000##000000
##5185221.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#518072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #518522;
/* rgb */ color: rgb(81, 133, 34);
/* oklch */ color: oklch(56.0% 0.140 133.4);
Tailwind
colors: {
  custom: {
    50: '#86a964',
    500: '#518522',
    950: '#000000',
  },
}
SCSS
$custom: #518522;
$custom-light: #86a964;
$custom-dark: #000000;
JSON
{
  "hex": "#518522",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 91.515,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55971,
    "c": 0.14008,
    "h": 133.4
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#518522
secondary
#844DB6
accent
#45E298
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #518522

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

Preview Lab → · Contrast checker → · Palette generator →

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