#509221#509221

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

Color values

HEX#509221
RGBrgb(80, 146, 33)
HSLhsl(95, 63%, 35%)
HSVhsv(95, 77%, 57%)
CMYKcmyk(45.2%, 0%, 77.4%, 42.7%)
CIE-LABlab(54.42, -40.35, 49.67)
CIE-LCHlch(54.42, 63.99, 129.09°)
OKLaboklab(59.36% -0.1127 0.1109)
OKLCHoklch(59.36% 0.158 135.5)
XYZxyz(13.8613, 22.3722, 5.0264)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509221 #632192
analogous
#889221 #509221 #21922A
triadic
#509221 #215092 #922150
tetradic
#509221 #218892 #632192 #922A21
square
#509221 #218892 #632192 #922A21
split-complementary
#509221 #2A2192 #922188
monochromatic
#192E0A #356016 #509221 #6BC42C #8CD955

Accessibility & contrast

On white

3.84
#509221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#509221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509221
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509221#FFFFFF#000000##000000
##5092211.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978606
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#4E8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #509221;
/* rgb */ color: rgb(80, 146, 33);
/* oklch */ color: oklch(59.4% 0.158 135.5);
Tailwind
colors: {
  custom: {
    50: '#87b265',
    500: '#509221',
    950: '#000000',
  },
}
SCSS
$custom: #509221;
$custom-light: #87b265;
$custom-dark: #000000;
JSON
{
  "hex": "#509221",
  "rgb": {
    "r": 80,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 95.044,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.15807,
    "h": 135.5
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#509221
secondary
#9053BC
accent
#42E6A2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509221

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

Preview Lab → · Contrast checker → · Palette generator →

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