#518422#518422

#518422 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.139 H 133.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#518422
RGBrgb(81, 132, 34)
HSLhsl(91, 59%, 33%)
HSVhsv(91, 74%, 52%)
CMYKcmyk(38.6%, 0%, 74.2%, 48.2%)
CIE-LABlab(49.94, -33.85, 44.90)
CIE-LCHlch(49.94, 56.23, 127.01°)
OKLaboklab(55.71% -0.0951 0.1011)
OKLCHoklch(55.71% 0.139 133.3)
XYZxyz(11.9331, 18.3668, 4.4295)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518422 #552284
analogous
#828422 #518422 #228424
triadic
#518422 #225184 #842251
tetradic
#518422 #228284 #552284 #842422
square
#518422 #228284 #552284 #842422
split-complementary
#518422 #242284 #842282
monochromatic
#152309 #335315 #518422 #6FB52F #8ED24F

Accessibility & contrast

On white

4.49
#518422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#518422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518422
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518422#FFFFFF#000000##000000
##5184221.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897911
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#517F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #518422;
/* rgb */ color: rgb(81, 132, 34);
/* oklch */ color: oklch(55.7% 0.139 133.3);
Tailwind
colors: {
  custom: {
    50: '#86a864',
    500: '#518422',
    950: '#000000',
  },
}
SCSS
$custom: #518422;
$custom-light: #86a864;
$custom-dark: #000000;
JSON
{
  "hex": "#518422",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 91.224,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.13875,
    "h": 133.3
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#518422
secondary
#834DB5
accent
#46E297
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #518422

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

Preview Lab → · Contrast checker → · Palette generator →

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