#509F26#509F26

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

Color values

HEX#509F26
RGBrgb(80, 159, 38)
HSLhsl(99, 61%, 39%)
HSVhsv(99, 76%, 62%)
CMYKcmyk(49.7%, 0%, 76.1%, 37.6%)
CIE-LABlab(58.64, -45.33, 52.04)
CIE-LCHlch(58.64, 69.01, 131.06°)
OKLaboklab(62.84% -0.1257 0.1166)
OKLCHoklch(62.84% 0.171 137.2)
XYZxyz(16.0558, 26.6406, 6.1294)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F26 #75269F
analogous
#8C9F26 #509F26 #269F39
triadic
#509F26 #26509F #9F2650
tetradic
#509F26 #268C9F #75269F #9F3926
square
#509F26 #268C9F #75269F #9F3926
split-complementary
#509F26 #39269F #9F268C
monochromatic
#1E3C0E #376E1A #509F26 #69CE34 #8EDA65

Accessibility & contrast

On white

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

On black

6.33
#509F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F26
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F26#FFFFFF#000000##000000
##509F261.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #509f26;
/* rgb */ color: rgb(80, 159, 38);
/* oklch */ color: oklch(62.8% 0.171 137.2);
Tailwind
colors: {
  custom: {
    50: '#89bc69',
    500: '#509f26',
    950: '#000000',
  },
}
SCSS
$custom: #509f26;
$custom-light: #89bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#509f26",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 38
  },
  "hsl": {
    "h": 99.174,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62837,
    "c": 0.17148,
    "h": 137.2
  },
  "luminance": 0.26642
}

Semantic roles & 50–950 ramp

primary
#509F26
secondary
#9F61C0
accent
#43E5AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F26

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

Preview Lab → · Contrast checker → · Palette generator →

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