#509F2C#509F2C

#509F2C is a light, vivid green. Relative luminance 0.267; OKLCH L 62.9% C 0.168 H 137.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#509F2C
RGBrgb(80, 159, 44)
HSLhsl(101, 57%, 40%)
HSVhsv(101, 72%, 62%)
CMYKcmyk(49.7%, 0%, 72.3%, 37.6%)
CIE-LABlab(58.68, -44.90, 49.87)
CIE-LCHlch(58.68, 67.10, 131.99°)
OKLaboklab(62.88% -0.1242 0.1129)
OKLCHoklch(62.88% 0.168 137.7)
XYZxyz(16.1605, 26.6825, 6.6810)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F2C #7B2C9F
analogous
#8A9F2C #509F2C #2C9F41
triadic
#509F2C #2C509F #9F2C50
tetradic
#509F2C #2C8A9F #7B2C9F #9F412C
square
#509F2C #2C8A9F #7B2C9F #9F412C
split-complementary
#509F2C #412C9F #9F2C8A
monochromatic
#203F11 #386F1F #509F2C #6ACA3E #8FD76E

Accessibility & contrast

On white

3.31
#509F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#509F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F2C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F2C#FFFFFF#000000##000000
##509F2C1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49119
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#4B9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f2c;
/* rgb */ color: rgb(80, 159, 44);
/* oklch */ color: oklch(62.9% 0.168 137.7);
Tailwind
colors: {
  custom: {
    50: '#88bc6c',
    500: '#509f2c',
    950: '#000000',
  },
}
SCSS
$custom: #509f2c;
$custom-light: #88bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#509f2c",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 101.217,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62882,
    "c": 0.16785,
    "h": 137.7
  },
  "luminance": 0.26684
}

Semantic roles & 50–950 ramp

primary
#509F2C
secondary
#A369BE
accent
#48E0B0
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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