#509A22#509A22

#509A22 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.5% C 0.168 H 136.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#509A22
RGBrgb(80, 154, 34)
HSLhsl(97, 64%, 37%)
HSVhsv(97, 78%, 60%)
CMYKcmyk(48.1%, 0%, 77.9%, 39.6%)
CIE-LABlab(57.01, -43.58, 51.82)
CIE-LCHlch(57.01, 67.71, 130.06°)
OKLaboklab(61.49% -0.1213 0.1155)
OKLCHoklch(61.49% 0.168 136.4)
XYZxyz(15.1522, 24.9312, 5.5268)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A22 #6C229A
analogous
#8C9A22 #509A22 #229A30
triadic
#509A22 #22509A #9A2250
tetradic
#509A22 #228C9A #6C229A #9A3022
square
#509A22 #228C9A #6C229A #9A3022
split-complementary
#509A22 #30229A #9A228C
monochromatic
#1C360C #366817 #509A22 #6ACC2D #8CDB5B

Accessibility & contrast

On white

3.51
#509A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#509A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A22
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A22#FFFFFF#000000##000000
##509A221.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D03
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#4C9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a22;
/* rgb */ color: rgb(80, 154, 34);
/* oklch */ color: oklch(61.5% 0.168 136.4);
Tailwind
colors: {
  custom: {
    50: '#88b867',
    500: '#509a22',
    950: '#000000',
  },
}
SCSS
$custom: #509a22;
$custom-light: #88b867;
$custom-dark: #000000;
JSON
{
  "hex": "#509a22",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 97,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.16751,
    "h": 136.4
  },
  "luminance": 0.24932
}

Semantic roles & 50–950 ramp

primary
#509A22
secondary
#9858BF
accent
#41E7A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A22

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

Preview Lab → · Contrast checker → · Palette generator →

#509A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva