#509B26#509B26

#509B26 is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 61.8% C 0.167 H 136.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#509B26
RGBrgb(80, 155, 38)
HSLhsl(98, 61%, 38%)
HSVhsv(98, 75%, 61%)
CMYKcmyk(48.4%, 0%, 75.5%, 39.2%)
CIE-LABlab(57.35, -43.72, 50.77)
CIE-LCHlch(57.35, 67.01, 130.73°)
OKLaboklab(61.78% -0.1214 0.1139)
OKLCHoklch(61.78% 0.167 136.8)
XYZxyz(15.3790, 25.2871, 5.9039)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B26 #71269B
analogous
#8A9B26 #509B26 #269B37
triadic
#509B26 #26509B #9B2650
tetradic
#509B26 #268A9B #71269B #9B3726
square
#509B26 #268A9B #71269B #9B3726
split-complementary
#509B26 #37269B #9B268A
monochromatic
#1D390E #376A1A #509B26 #69CC32 #8DD963

Accessibility & contrast

On white

3.47
#509B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#509B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B26
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B26#FFFFFF#000000##000000
##509B261.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0E
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#4C9585
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b26;
/* rgb */ color: rgb(80, 155, 38);
/* oklch */ color: oklch(61.8% 0.167 136.8);
Tailwind
colors: {
  custom: {
    50: '#88b969',
    500: '#509b26',
    950: '#000000',
  },
}
SCSS
$custom: #509b26;
$custom-light: #88b969;
$custom-dark: #000000;
JSON
{
  "hex": "#509b26",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 38
  },
  "hsl": {
    "h": 98.462,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.16651,
    "h": 136.8
  },
  "luminance": 0.25288
}

Semantic roles & 50–950 ramp

primary
#509B26
secondary
#9C5FBE
accent
#44E4AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509B26

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

Preview Lab → · Contrast checker → · Palette generator →

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