#509B1C#509B1C

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

Color values

HEX#509B1C
RGBrgb(80, 155, 28)
HSLhsl(95, 69%, 36%)
HSVhsv(95, 82%, 61%)
CMYKcmyk(48.4%, 0%, 81.9%, 39.2%)
CIE-LABlab(57.30, -44.32, 53.98)
CIE-LCHlch(57.30, 69.84, 129.39°)
OKLaboklab(61.72% -0.1236 0.1192)
OKLCHoklch(61.72% 0.172 136.1)
XYZxyz(15.2388, 25.2310, 5.1655)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B1C #671C9B
analogous
#8F9B1C #509B1C #1C9B27
triadic
#509B1C #1C509B #9B1C50
tetradic
#509B1C #1C8F9B #671C9B #9B271C
square
#509B1C #1C8F9B #671C9B #9B271C
split-complementary
#509B1C #271C9B #9B1C8F
monochromatic
#1A3309 #356713 #509B1C #6BCF25 #8CE052

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509B1C#FFFFFF#000000##000000
##509B1C1.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)
#A18D00
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#4D9584
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b1c;
/* rgb */ color: rgb(80, 155, 28);
/* oklch */ color: oklch(61.7% 0.172 136.1);
Tailwind
colors: {
  custom: {
    50: '#89b964',
    500: '#509b1c',
    950: '#000000',
  },
}
SCSS
$custom: #509b1c;
$custom-light: #89b964;
$custom-dark: #000000;
JSON
{
  "hex": "#509b1c",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 28
  },
  "hsl": {
    "h": 95.433,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.17171,
    "h": 136.1
  },
  "luminance": 0.25232
}

Semantic roles & 50–950 ramp

primary
#509B1C
secondary
#9450C3
accent
#3CECA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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