#509A23#509A23

#509A23 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.5% C 0.167 H 136.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#509A23
RGBrgb(80, 154, 35)
HSLhsl(97, 63%, 37%)
HSVhsv(97, 77%, 60%)
CMYKcmyk(48.1%, 0%, 77.3%, 39.6%)
CIE-LABlab(57.01, -43.52, 51.49)
CIE-LCHlch(57.01, 67.42, 130.20°)
OKLaboklab(61.49% -0.1211 0.115)
OKLCHoklch(61.49% 0.167 136.5)
XYZxyz(15.1668, 24.9370, 5.6039)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A23 #6D239A
analogous
#8C9A23 #509A23 #239A32
triadic
#509A23 #23509A #9A2350
tetradic
#509A23 #238C9A #6D239A #9A3223
square
#509A23 #238C9A #6D239A #9A3223
split-complementary
#509A23 #32239A #9A238C
monochromatic
#1C360C #366818 #509A23 #6ACC2E #8CDA5D

Accessibility & contrast

On white

3.51
#509A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#509A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A23
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A23#FFFFFF#000000##000000
##509A231.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D06
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#4C9484
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a23;
/* rgb */ color: rgb(80, 154, 35);
/* oklch */ color: oklch(61.5% 0.167 136.5);
Tailwind
colors: {
  custom: {
    50: '#88b867',
    500: '#509a23',
    950: '#000000',
  },
}
SCSS
$custom: #509a23;
$custom-light: #88b867;
$custom-dark: #000000;
JSON
{
  "hex": "#509a23",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 97.311,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.16697,
    "h": 136.5
  },
  "luminance": 0.24938
}

Semantic roles & 50–950 ramp

primary
#509A23
secondary
#995ABF
accent
#42E6A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A23

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

Preview Lab → · Contrast checker → · Palette generator →

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