#519222#519222

#519222 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.4% C 0.157 H 135.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#519222
RGBrgb(81, 146, 34)
HSLhsl(95, 62%, 35%)
HSVhsv(95, 77%, 57%)
CMYKcmyk(44.5%, 0%, 76.7%, 42.7%)
CIE-LABlab(54.47, -39.95, 49.38)
CIE-LCHlch(54.47, 63.52, 128.97°)
OKLaboklab(59.42% -0.1116 0.1104)
OKLCHoklch(59.42% 0.157 135.3)
XYZxyz(13.9606, 22.4218, 5.1053)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#519222 #632292
analogous
#899222 #519222 #22922B
triadic
#519222 #225192 #922251
tetradic
#519222 #228992 #632292 #922B22
square
#519222 #228992 #632292 #922B22
split-complementary
#519222 #2B2292 #922289
monochromatic
#1A2F0B #356016 #519222 #6DC42E #8DD857

Accessibility & contrast

On white

3.83
#519222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#519222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #519222
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##519222#FFFFFF#000000##000000
##5192221.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988609
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#4F8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #519222;
/* rgb */ color: rgb(81, 146, 34);
/* oklch */ color: oklch(59.4% 0.157 135.3);
Tailwind
colors: {
  custom: {
    50: '#88b266',
    500: '#519222',
    950: '#000000',
  },
}
SCSS
$custom: #519222;
$custom-light: #88b266;
$custom-dark: #000000;
JSON
{
  "hex": "#519222",
  "rgb": {
    "r": 81,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 94.821,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.15697,
    "h": 135.3
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#519222
secondary
#9054BC
accent
#43E5A1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #519222

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

Preview Lab → · Contrast checker → · Palette generator →

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