#509822#509822

#509822 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.0% C 0.165 H 136.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#509822
RGBrgb(80, 152, 34)
HSLhsl(97, 63%, 36%)
HSVhsv(97, 78%, 60%)
CMYKcmyk(47.4%, 0%, 77.6%, 40.4%)
CIE-LABlab(56.36, -42.77, 51.20)
CIE-LCHlch(56.36, 66.71, 129.87°)
OKLaboklab(60.96% -0.1191 0.1143)
OKLCHoklch(60.96% 0.165 136.2)
XYZxyz(14.8248, 24.2765, 5.4177)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509822 #6A2298
analogous
#8B9822 #509822 #22982F
triadic
#509822 #225098 #982250
tetradic
#509822 #228B98 #6A2298 #982F22
square
#509822 #228B98 #6A2298 #982F22
split-complementary
#509822 #2F2298 #98228B
monochromatic
#1B340C #366617 #509822 #6ACA2D #8CDA5A

Accessibility & contrast

On white

3.59
#509822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#509822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509822
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509822#FFFFFF#000000##000000
##5098221.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B05
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#4D9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #509822;
/* rgb */ color: rgb(80, 152, 34);
/* oklch */ color: oklch(61.0% 0.165 136.2);
Tailwind
colors: {
  custom: {
    50: '#88b767',
    500: '#509822',
    950: '#000000',
  },
}
SCSS
$custom: #509822;
$custom-light: #88b767;
$custom-dark: #000000;
JSON
{
  "hex": "#509822",
  "rgb": {
    "r": 80,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 96.61,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.16504,
    "h": 136.2
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#509822
secondary
#9657BE
accent
#41E6A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509822

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

Preview Lab → · Contrast checker → · Palette generator →

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