#509C23#509C23

#509C23 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.0% C 0.169 H 136.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#509C23
RGBrgb(80, 156, 35)
HSLhsl(98, 63%, 37%)
HSVhsv(98, 78%, 61%)
CMYKcmyk(48.7%, 0%, 77.6%, 38.8%)
CIE-LABlab(57.66, -44.32, 52.11)
CIE-LCHlch(57.66, 68.41, 130.38°)
OKLaboklab(62.02% -0.1232 0.1163)
OKLCHoklch(62.02% 0.169 136.7)
XYZxyz(15.4997, 25.6027, 5.7149)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509C23 #6F239C
analogous
#8D9C23 #509C23 #239C32
triadic
#509C23 #23509C #9C2350
tetradic
#509C23 #238D9C #6F239C #9C3223
square
#509C23 #238D9C #6F239C #9C3223
split-complementary
#509C23 #32239C #9C238D
monochromatic
#1D380D #366A18 #509C23 #6ACE2E #8DDB5E

Accessibility & contrast

On white

3.43
#509C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#509C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509C23
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509C23#FFFFFF#000000##000000
##509C231.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E05
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#4C9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509c23;
/* rgb */ color: rgb(80, 156, 35);
/* oklch */ color: oklch(62.0% 0.169 136.7);
Tailwind
colors: {
  custom: {
    50: '#89ba68',
    500: '#509c23',
    950: '#000000',
  },
}
SCSS
$custom: #509c23;
$custom-light: #89ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#509c23",
  "rgb": {
    "r": 80,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 97.686,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62024,
    "c": 0.16944,
    "h": 136.7
  },
  "luminance": 0.25604
}

Semantic roles & 50–950 ramp

primary
#509C23
secondary
#9A5BC0
accent
#41E6A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509C23

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

Preview Lab → · Contrast checker → · Palette generator →

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