#509D23#509D23

#509D23 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#509D23
RGBrgb(80, 157, 35)
HSLhsl(98, 64%, 38%)
HSVhsv(98, 78%, 62%)
CMYKcmyk(49%, 0%, 77.7%, 38.4%)
CIE-LABlab(57.98, -44.72, 52.42)
CIE-LCHlch(57.98, 68.91, 130.47°)
OKLaboklab(62.29% -0.1243 0.117)
OKLCHoklch(62.29% 0.171 136.7)
XYZxyz(15.6682, 25.9397, 5.7710)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D23 #70239D
analogous
#8D9D23 #509D23 #239D33
triadic
#509D23 #23509D #9D2350
tetradic
#509D23 #238D9D #70239D #9D3323
square
#509D23 #238D9D #70239D #9D3323
split-complementary
#509D23 #33239D #9D238D
monochromatic
#1D390D #366B18 #509D23 #69CF2E #8DDB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509D23#FFFFFF#000000##000000
##509D231.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)
#A28F04
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d23;
/* rgb */ color: rgb(80, 157, 35);
/* oklch */ color: oklch(62.3% 0.171 136.7);
Tailwind
colors: {
  custom: {
    50: '#89ba68',
    500: '#509d23',
    950: '#000000',
  },
}
SCSS
$custom: #509d23;
$custom-light: #89ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#509d23",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 97.869,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.17068,
    "h": 136.7
  },
  "luminance": 0.25941
}

Semantic roles & 50–950 ramp

primary
#509D23
secondary
#9B5CC0
accent
#41E7AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509D23

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

Preview Lab → · Contrast checker → · Palette generator →

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