#509B19#509B19

#509B19 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.173 H 135.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#509B19
RGBrgb(80, 155, 25)
HSLhsl(95, 72%, 35%)
HSVhsv(95, 84%, 61%)
CMYKcmyk(48.4%, 0%, 83.9%, 39.2%)
CIE-LABlab(57.29, -44.47, 54.80)
CIE-LCHlch(57.29, 70.57, 129.05°)
OKLaboklab(61.7% -0.1242 0.1204)
OKLCHoklch(61.7% 0.173 135.9)
XYZxyz(15.2047, 25.2173, 4.9858)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B19 #64199B
analogous
#919B19 #509B19 #199B23
triadic
#509B19 #19509B #9B1950
tetradic
#509B19 #19919B #64199B #9B2319
square
#509B19 #19919B #64199B #9B2319
split-complementary
#509B19 #23199B #9B1991
monochromatic
#1A3208 #356611 #509B19 #6BD022 #8CE24C

Accessibility & contrast

On white

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

On black

6.04
#509B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B19
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B19#FFFFFF#000000##000000
##509B191.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#4D9584
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b19;
/* rgb */ color: rgb(80, 155, 25);
/* oklch */ color: oklch(61.7% 0.173 135.9);
Tailwind
colors: {
  custom: {
    50: '#89b963',
    500: '#509b19',
    950: '#000000',
  },
}
SCSS
$custom: #509b19;
$custom-light: #89b963;
$custom-dark: #000000;
JSON
{
  "hex": "#509b19",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 25
  },
  "hsl": {
    "h": 94.615,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.17301,
    "h": 135.9
  },
  "luminance": 0.25218
}

Semantic roles & 50–950 ramp

primary
#509B19
secondary
#914CC4
accent
#39EFA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B19

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

Preview Lab → · Contrast checker → · Palette generator →

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