#509A1B#509A1B

#509A1B is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.4% C 0.171 H 135.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#509A1B
RGBrgb(80, 154, 27)
HSLhsl(95, 70%, 35%)
HSVhsv(95, 82%, 60%)
CMYKcmyk(48.1%, 0%, 82.5%, 39.6%)
CIE-LABlab(56.97, -43.97, 53.97)
CIE-LCHlch(56.97, 69.61, 129.17°)
OKLaboklab(61.45% -0.1228 0.119)
OKLCHoklch(61.45% 0.171 135.9)
XYZxyz(15.0613, 24.8948, 5.0482)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A1B #651B9A
analogous
#8F9A1B #509A1B #1B9A26
triadic
#509A1B #1B509A #9A1B50
tetradic
#509A1B #1B8F9A #651B9A #9A261B
square
#509A1B #1B8F9A #651B9A #9A261B
split-complementary
#509A1B #261B9A #9A1B8F
monochromatic
#1A3209 #356612 #509A1B #6BCE24 #8CE04F

Accessibility & contrast

On white

3.51
#509A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#509A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A1B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A1B#FFFFFF#000000##000000
##509A1B1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96862A
Tritanopia (blue-blind)
#4D9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a1b;
/* rgb */ color: rgb(80, 154, 27);
/* oklch */ color: oklch(61.4% 0.171 135.9);
Tailwind
colors: {
  custom: {
    50: '#89b864',
    500: '#509a1b',
    950: '#000000',
  },
}
SCSS
$custom: #509a1b;
$custom-light: #89b864;
$custom-dark: #000000;
JSON
{
  "hex": "#509a1b",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 27
  },
  "hsl": {
    "h": 94.961,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.17096,
    "h": 135.9
  },
  "luminance": 0.24896
}

Semantic roles & 50–950 ramp

primary
#509A1B
secondary
#924EC3
accent
#3BEDA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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