#509F21#509F21

#509F21 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#509F21
RGBrgb(80, 159, 33)
HSLhsl(98, 66%, 38%)
HSVhsv(98, 79%, 62%)
CMYKcmyk(49.7%, 0%, 79.2%, 37.6%)
CIE-LABlab(58.61, -45.64, 53.68)
CIE-LCHlch(58.61, 70.46, 130.37°)
OKLaboklab(62.81% -0.1269 0.1193)
OKLCHoklch(62.81% 0.174 136.8)
XYZxyz(15.9804, 26.6104, 5.7328)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F21 #70219F
analogous
#8F9F21 #509F21 #219F31
triadic
#509F21 #21509F #9F2150
tetradic
#509F21 #218F9F #70219F #9F3121
square
#509F21 #218F9F #70219F #9F3121
split-complementary
#509F21 #31219F #9F218F
monochromatic
#1D3A0C #366C16 #509F21 #6AD22C #8DDD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509F21#FFFFFF#000000##000000
##509F211.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)
#9A8B2F
Tritanopia (blue-blind)
#4C9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f21;
/* rgb */ color: rgb(80, 159, 33);
/* oklch */ color: oklch(62.8% 0.174 136.8);
Tailwind
colors: {
  custom: {
    50: '#89bc67',
    500: '#509f21',
    950: '#000000',
  },
}
SCSS
$custom: #509f21;
$custom-light: #89bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#509f21",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 97.619,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62805,
    "c": 0.17415,
    "h": 136.8
  },
  "luminance": 0.26612
}

Semantic roles & 50–950 ramp

primary
#509F21
secondary
#9B5AC2
accent
#3FE9A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509F21

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

Preview Lab → · Contrast checker → · Palette generator →

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