#509F1C#509F1C

#509F1C is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.8% C 0.176 H 136.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#509F1C
RGBrgb(80, 159, 28)
HSLhsl(96, 70%, 37%)
HSVhsv(96, 82%, 62%)
CMYKcmyk(49.7%, 0%, 82.4%, 37.6%)
CIE-LABlab(58.59, -45.91, 55.16)
CIE-LCHlch(58.59, 71.76, 129.77°)
OKLaboklab(62.78% -0.1279 0.1216)
OKLCHoklch(62.78% 0.177 136.4)
XYZxyz(15.9156, 26.5845, 5.3910)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F1C #6B1C9F
analogous
#929F1C #509F1C #1C9F2A
triadic
#509F1C #1C509F #9F1C50
tetradic
#509F1C #1C929F #6B1C9F #9F2A1C
square
#509F1C #1C929F #6B1C9F #9F2A1C
split-complementary
#509F1C #2A1C9F #9F1C92
monochromatic
#1C370A #366B13 #509F1C #6AD325 #8CE154

Accessibility & contrast

On white

3.32
#509F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#509F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F1C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F1C#FFFFFF#000000##000000
##509F1C1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8B2C
Tritanopia (blue-blind)
#4C9987
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f1c;
/* rgb */ color: rgb(80, 159, 28);
/* oklch */ color: oklch(62.8% 0.176 136.4);
Tailwind
colors: {
  custom: {
    50: '#89bc65',
    500: '#509f1c',
    950: '#000000',
  },
}
SCSS
$custom: #509f1c;
$custom-light: #89bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#509f1c",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 96.183,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62777,
    "c": 0.1765,
    "h": 136.4
  },
  "luminance": 0.26586
}

Semantic roles & 50–950 ramp

primary
#509F1C
secondary
#9753C4
accent
#3BEDA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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