#518322#518322

#518322 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.137 H 133.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#518322
RGBrgb(81, 131, 34)
HSLhsl(91, 59%, 32%)
HSVhsv(91, 74%, 51%)
CMYKcmyk(38.2%, 0%, 74%, 48.6%)
CIE-LABlab(49.61, -33.40, 44.58)
CIE-LCHlch(49.61, 55.70, 126.84°)
OKLaboklab(55.44% -0.0939 0.1004)
OKLCHoklch(55.44% 0.137 133.1)
XYZxyz(11.7982, 18.0969, 4.3845)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518322 #542283
analogous
#828322 #518322 #228324
triadic
#518322 #225183 #832251
tetradic
#518322 #228283 #542283 #832422
square
#518322 #228283 #542283 #832422
split-complementary
#518322 #242283 #832282
monochromatic
#152209 #335215 #518322 #6FB42F #8ED14E

Accessibility & contrast

On white

4.55
#518322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#518322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518322
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518322#FFFFFF#000000##000000
##5183221.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#517E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #518322;
/* rgb */ color: rgb(81, 131, 34);
/* oklch */ color: oklch(55.4% 0.137 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a764',
    500: '#518322',
    950: '#000000',
  },
}
SCSS
$custom: #518322;
$custom-light: #86a764;
$custom-dark: #000000;
JSON
{
  "hex": "#518322",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 90.928,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.13742,
    "h": 133.1
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#518322
secondary
#824CB4
accent
#46E296
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #518322

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

Preview Lab → · Contrast checker → · Palette generator →

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