#509A1C#509A1C

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

Color values

HEX#509A1C
RGBrgb(80, 154, 28)
HSLhsl(95, 69%, 36%)
HSVhsv(95, 82%, 60%)
CMYKcmyk(48.1%, 0%, 81.8%, 39.6%)
CIE-LABlab(56.98, -43.92, 53.68)
CIE-LCHlch(56.98, 69.36, 129.29°)
OKLaboklab(61.45% -0.1226 0.1185)
OKLCHoklch(61.45% 0.171 136)
XYZxyz(15.0731, 24.8995, 5.1102)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A1C #661C9A
analogous
#8F9A1C #509A1C #1C9A27
triadic
#509A1C #1C509A #9A1C50
tetradic
#509A1C #1C8F9A #661C9A #9A271C
square
#509A1C #1C8F9A #661C9A #9A271C
split-complementary
#509A1C #271C9A #9A1C8F
monochromatic
#1A3209 #356613 #509A1C #6BCE25 #8CDF51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509A1C#FFFFFF#000000##000000
##509A1C1.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)
#96862B
Tritanopia (blue-blind)
#4D9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a1c;
/* rgb */ color: rgb(80, 154, 28);
/* oklch */ color: oklch(61.5% 0.171 136.0);
Tailwind
colors: {
  custom: {
    50: '#89b864',
    500: '#509a1c',
    950: '#000000',
  },
}
SCSS
$custom: #509a1c;
$custom-light: #89b864;
$custom-dark: #000000;
JSON
{
  "hex": "#509a1c",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 28
  },
  "hsl": {
    "h": 95.238,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61453,
    "c": 0.17051,
    "h": 136
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#509A1C
secondary
#9350C2
accent
#3CECA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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