#509E1B#509E1B

#509E1B is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 62.5% C 0.176 H 136.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#509E1B
RGBrgb(80, 158, 27)
HSLhsl(96, 71%, 36%)
HSVhsv(96, 83%, 62%)
CMYKcmyk(49.4%, 0%, 82.9%, 38%)
CIE-LABlab(58.26, -45.56, 55.14)
CIE-LCHlch(58.26, 71.53, 129.57°)
OKLaboklab(62.51% -0.127 0.1215)
OKLCHoklch(62.51% 0.176 136.3)
XYZxyz(15.7325, 26.2372, 5.2720)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509E1B #691B9E
analogous
#929E1B #509E1B #1B9E27
triadic
#509E1B #1B509E #9E1B50
tetradic
#509E1B #1B929E #691B9E #9E271B
square
#509E1B #1B929E #691B9E #9E271B
split-complementary
#509E1B #271B9E #9E1B92
monochromatic
#1B3509 #366A12 #509E1B #6AD224 #8CE152

Accessibility & contrast

On white

3.36
#509E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#509E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509E1B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509E1B#FFFFFF#000000##000000
##509E1B1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#4C9886
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509e1b;
/* rgb */ color: rgb(80, 158, 27);
/* oklch */ color: oklch(62.5% 0.176 136.3);
Tailwind
colors: {
  custom: {
    50: '#89bb64',
    500: '#509e1b',
    950: '#000000',
  },
}
SCSS
$custom: #509e1b;
$custom-light: #89bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#509e1b",
  "rgb": {
    "r": 80,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 95.725,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62507,
    "c": 0.17575,
    "h": 136.3
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

primary
#509E1B
secondary
#9551C4
accent
#3AEEA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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