#509C26#509C26

#509C26 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.0% C 0.168 H 136.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#509C26
RGBrgb(80, 156, 38)
HSLhsl(99, 61%, 38%)
HSVhsv(99, 76%, 61%)
CMYKcmyk(48.7%, 0%, 75.6%, 38.8%)
CIE-LABlab(57.68, -44.13, 51.09)
CIE-LCHlch(57.68, 67.51, 130.82°)
OKLaboklab(62.04% -0.1225 0.1146)
OKLCHoklch(62.04% 0.168 136.9)
XYZxyz(15.5461, 25.6213, 5.9596)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509C26 #72269C
analogous
#8B9C26 #509C26 #269C37
triadic
#509C26 #26509C #9C2650
tetradic
#509C26 #268B9C #72269C #9C3726
square
#509C26 #268B9C #72269C #9C3726
split-complementary
#509C26 #37269C #9C268B
monochromatic
#1E3A0E #376B1A #509C26 #69CD32 #8DD963

Accessibility & contrast

On white

3.43
#509C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#509C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509C26
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509C26#FFFFFF#000000##000000
##509C261.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0D
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#4C9685
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509c26;
/* rgb */ color: rgb(80, 156, 38);
/* oklch */ color: oklch(62.0% 0.168 136.9);
Tailwind
colors: {
  custom: {
    50: '#88ba69',
    500: '#509c26',
    950: '#000000',
  },
}
SCSS
$custom: #509c26;
$custom-light: #88ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#509c26",
  "rgb": {
    "r": 80,
    "g": 156,
    "b": 38
  },
  "hsl": {
    "h": 98.644,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62044,
    "c": 0.16776,
    "h": 136.9
  },
  "luminance": 0.25622
}

Semantic roles & 50–950 ramp

primary
#509C26
secondary
#9D5FBF
accent
#44E4AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509C26

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

Preview Lab → · Contrast checker → · Palette generator →

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