#509B20#509B20

#509B20 is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 61.7% C 0.170 H 136.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#509B20
RGBrgb(80, 155, 32)
HSLhsl(97, 66%, 37%)
HSVhsv(97, 79%, 61%)
CMYKcmyk(48.4%, 0%, 79.4%, 39.2%)
CIE-LABlab(57.32, -44.10, 52.78)
CIE-LCHlch(57.32, 68.78, 129.88°)
OKLaboklab(61.74% -0.1228 0.1172)
OKLCHoklch(61.74% 0.17 136.3)
XYZxyz(15.2899, 25.2514, 5.4346)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B20 #6B209B
analogous
#8E9B20 #509B20 #209B2D
triadic
#509B20 #20509B #9B2050
tetradic
#509B20 #208E9B #6B209B #9B2D20
square
#509B20 #208E9B #6B209B #9B2D20
split-complementary
#509B20 #2D209B #9B208E
monochromatic
#1C360B #366816 #509B20 #6ACE2A #8CDD59

Accessibility & contrast

On white

3.47
#509B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#509B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B20
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B20#FFFFFF#000000##000000
##509B201.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#97872E
Tritanopia (blue-blind)
#4C9584
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b20;
/* rgb */ color: rgb(80, 155, 32);
/* oklch */ color: oklch(61.7% 0.170 136.3);
Tailwind
colors: {
  custom: {
    50: '#89b966',
    500: '#509b20',
    950: '#000000',
  },
}
SCSS
$custom: #509b20;
$custom-light: #89b966;
$custom-dark: #000000;
JSON
{
  "hex": "#509b20",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 96.585,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.16979,
    "h": 136.3
  },
  "luminance": 0.25252
}

Semantic roles & 50–950 ramp

primary
#509B20
secondary
#9756C1
accent
#3FE9A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B20

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

Preview Lab → · Contrast checker → · Palette generator →

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