#509222#509222

#509222 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.48:1 contrast (WCAG AA passes).

Color values

HEX#509222
RGBrgb(80, 146, 34)
HSLhsl(95, 62%, 35%)
HSVhsv(95, 77%, 57%)
CMYKcmyk(45.2%, 0%, 76.7%, 42.7%)
CIE-LABlab(54.43, -40.29, 49.32)
CIE-LCHlch(54.43, 63.68, 129.24°)
OKLaboklab(59.37% -0.1124 0.1103)
OKLCHoklch(59.37% 0.158 135.5)
XYZxyz(13.8755, 22.3779, 5.1013)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509222 #642292
analogous
#889222 #509222 #22922C
triadic
#509222 #225092 #922250
tetradic
#509222 #228892 #642292 #922C22
square
#509222 #228892 #642292 #922C22
split-complementary
#509222 #2C2292 #922288
monochromatic
#1A2F0B #356016 #509222 #6BC42E #8CD857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509222#FFFFFF#000000##000000
##5092221.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #509222;
/* rgb */ color: rgb(80, 146, 34);
/* oklch */ color: oklch(59.4% 0.158 135.5);
Tailwind
colors: {
  custom: {
    50: '#87b266',
    500: '#509222',
    950: '#000000',
  },
}
SCSS
$custom: #509222;
$custom-light: #87b266;
$custom-dark: #000000;
JSON
{
  "hex": "#509222",
  "rgb": {
    "r": 80,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 95.357,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.1575,
    "h": 135.5
  },
  "luminance": 0.22379
}

Semantic roles & 50–950 ramp

primary
#509222
secondary
#9154BC
accent
#43E5A2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509222

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

Preview Lab → · Contrast checker → · Palette generator →

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