#519221#519221

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

Color values

HEX#519221
RGBrgb(81, 146, 33)
HSLhsl(95, 63%, 35%)
HSVhsv(95, 77%, 57%)
CMYKcmyk(44.5%, 0%, 77.4%, 42.7%)
CIE-LABlab(54.47, -40.01, 49.73)
CIE-LCHlch(54.47, 63.83, 128.82°)
OKLaboklab(59.41% -0.1118 0.111)
OKLCHoklch(59.41% 0.158 135.2)
XYZxyz(13.9464, 22.4161, 5.0304)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#519221 #622192
analogous
#899221 #519221 #219229
triadic
#519221 #215192 #922151
tetradic
#519221 #218992 #622192 #922921
square
#519221 #218992 #622192 #922921
split-complementary
#519221 #292192 #922189
monochromatic
#1A2E0A #356016 #519221 #6DC42C #8DD955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##519221#FFFFFF#000000##000000
##5192211.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)
#988606
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#4F8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #519221;
/* rgb */ color: rgb(81, 146, 33);
/* oklch */ color: oklch(59.4% 0.158 135.2);
Tailwind
colors: {
  custom: {
    50: '#88b265',
    500: '#519221',
    950: '#000000',
  },
}
SCSS
$custom: #519221;
$custom-light: #88b265;
$custom-dark: #000000;
JSON
{
  "hex": "#519221",
  "rgb": {
    "r": 81,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 94.513,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59411,
    "c": 0.15754,
    "h": 135.2
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#519221
secondary
#8F53BC
accent
#42E6A0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #519221

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

Preview Lab → · Contrast checker → · Palette generator →

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