#509F22#509F22

#509F22 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.8% C 0.174 H 136.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#509F22
RGBrgb(80, 159, 34)
HSLhsl(98, 65%, 38%)
HSVhsv(98, 79%, 62%)
CMYKcmyk(49.7%, 0%, 78.6%, 37.6%)
CIE-LABlab(58.62, -45.58, 53.37)
CIE-LCHlch(58.62, 70.18, 130.50°)
OKLaboklab(62.81% -0.1267 0.1188)
OKLCHoklch(62.81% 0.174 136.8)
XYZxyz(15.9947, 26.6161, 5.8077)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F22 #71229F
analogous
#8E9F22 #509F22 #229F32
triadic
#509F22 #22509F #9F2250
tetradic
#509F22 #228E9F #71229F #9F3222
square
#509F22 #228E9F #71229F #9F3222
split-complementary
#509F22 #32229F #9F228E
monochromatic
#1D3A0C #376D17 #509F22 #69D12D #8DDD5F

Accessibility & contrast

On white

3.32
#509F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#509F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F22
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F22#FFFFFF#000000##000000
##509F221.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8B30
Tritanopia (blue-blind)
#4B9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f22;
/* rgb */ color: rgb(80, 159, 34);
/* oklch */ color: oklch(62.8% 0.174 136.8);
Tailwind
colors: {
  custom: {
    50: '#89bc67',
    500: '#509f22',
    950: '#000000',
  },
}
SCSS
$custom: #509f22;
$custom-light: #89bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#509f22",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 97.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62811,
    "c": 0.17365,
    "h": 136.8
  },
  "luminance": 0.26617
}

Semantic roles & 50–950 ramp

primary
#509F22
secondary
#9C5BC1
accent
#40E8AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F22

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

Preview Lab → · Contrast checker → · Palette generator →

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