#509F23#509F23

#509F23 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.8% C 0.173 H 136.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#509F23
RGBrgb(80, 159, 35)
HSLhsl(98, 64%, 38%)
HSVhsv(98, 78%, 62%)
CMYKcmyk(49.7%, 0%, 78%, 37.6%)
CIE-LABlab(58.62, -45.52, 53.04)
CIE-LCHlch(58.62, 69.90, 130.63°)
OKLaboklab(62.82% -0.1264 0.1182)
OKLCHoklch(62.82% 0.173 136.9)
XYZxyz(16.0093, 26.6220, 5.8847)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F23 #72239F
analogous
#8E9F23 #509F23 #239F34
triadic
#509F23 #23509F #9F2350
tetradic
#509F23 #238E9F #72239F #9F3423
square
#509F23 #238E9F #72239F #9F3423
split-complementary
#509F23 #34239F #9F238E
monochromatic
#1E3B0D #376D18 #509F23 #69D12E #8DDC60

Accessibility & contrast

On white

3.32
#509F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#509F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F23
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F23#FFFFFF#000000##000000
##509F231.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49102
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#4B9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f23;
/* rgb */ color: rgb(80, 159, 35);
/* oklch */ color: oklch(62.8% 0.173 136.9);
Tailwind
colors: {
  custom: {
    50: '#89bc68',
    500: '#509f23',
    950: '#000000',
  },
}
SCSS
$custom: #509f23;
$custom-light: #89bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#509f23",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 98.226,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62817,
    "c": 0.17312,
    "h": 136.9
  },
  "luminance": 0.26623
}

Semantic roles & 50–950 ramp

primary
#509F23
secondary
#9D5DC1
accent
#41E7AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F23

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

Preview Lab → · Contrast checker → · Palette generator →

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