#509B23#509B23

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

Color values

HEX#509B23
RGBrgb(80, 155, 35)
HSLhsl(98, 63%, 37%)
HSVhsv(98, 77%, 61%)
CMYKcmyk(48.4%, 0%, 77.4%, 39.2%)
CIE-LABlab(57.34, -43.92, 51.80)
CIE-LCHlch(57.34, 67.92, 130.29°)
OKLaboklab(61.76% -0.1221 0.1157)
OKLCHoklch(61.76% 0.168 136.6)
XYZxyz(15.3325, 25.2685, 5.6592)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B23 #6E239B
analogous
#8C9B23 #509B23 #239B32
triadic
#509B23 #23509B #9B2350
tetradic
#509B23 #238C9B #6E239B #9B3223
square
#509B23 #238C9B #6E239B #9B3223
split-complementary
#509B23 #32239B #9B238C
monochromatic
#1C370C #366918 #509B23 #6ACD2E #8DDB5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509B23#FFFFFF#000000##000000
##509B231.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)
#A08E05
Deuteranopia (green-blind)
#978730
Tritanopia (blue-blind)
#4C9584
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b23;
/* rgb */ color: rgb(80, 155, 35);
/* oklch */ color: oklch(61.8% 0.168 136.6);
Tailwind
colors: {
  custom: {
    50: '#88b967',
    500: '#509b23',
    950: '#000000',
  },
}
SCSS
$custom: #509b23;
$custom-light: #88b967;
$custom-dark: #000000;
JSON
{
  "hex": "#509b23",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 97.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.16821,
    "h": 136.6
  },
  "luminance": 0.2527
}

Semantic roles & 50–950 ramp

primary
#509B23
secondary
#9A5ABF
accent
#42E6A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B23

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

Preview Lab → · Contrast checker → · Palette generator →

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