#509D22#509D22

#509D22 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.3% C 0.171 H 136.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#509D22
RGBrgb(80, 157, 34)
HSLhsl(98, 64%, 37%)
HSVhsv(98, 78%, 62%)
CMYKcmyk(49%, 0%, 78.3%, 38.4%)
CIE-LABlab(57.97, -44.78, 52.75)
CIE-LCHlch(57.97, 69.20, 130.33°)
OKLaboklab(62.28% -0.1245 0.1175)
OKLCHoklch(62.28% 0.171 136.7)
XYZxyz(15.6535, 25.9338, 5.6940)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D22 #6F229D
analogous
#8E9D22 #509D22 #229D32
triadic
#509D22 #22509D #9D2250
tetradic
#509D22 #228E9D #6F229D #9D3222
square
#509D22 #228E9D #6F229D #9D3222
split-complementary
#509D22 #32229D #9D228E
monochromatic
#1D380C #366B17 #509D22 #6ACF2D #8DDC5D

Accessibility & contrast

On white

3.39
#509D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#509D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D22
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D22#FFFFFF#000000##000000
##509D221.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F01
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d22;
/* rgb */ color: rgb(80, 157, 34);
/* oklch */ color: oklch(62.3% 0.171 136.7);
Tailwind
colors: {
  custom: {
    50: '#89ba67',
    500: '#509d22',
    950: '#000000',
  },
}
SCSS
$custom: #509d22;
$custom-light: #89ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#509d22",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 97.561,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62282,
    "c": 0.17121,
    "h": 136.7
  },
  "luminance": 0.25935
}

Semantic roles & 50–950 ramp

primary
#509D22
secondary
#9A5AC1
accent
#40E7A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509D22

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

Preview Lab → · Contrast checker → · Palette generator →

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