#509A26#509A26

#509A26 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.5% C 0.165 H 136.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#509A26
RGBrgb(80, 154, 38)
HSLhsl(98, 60%, 38%)
HSVhsv(98, 75%, 60%)
CMYKcmyk(48.1%, 0%, 75.3%, 39.6%)
CIE-LABlab(57.03, -43.32, 50.46)
CIE-LCHlch(57.03, 66.50, 130.65°)
OKLaboklab(61.52% -0.1203 0.1133)
OKLCHoklch(61.52% 0.165 136.7)
XYZxyz(15.2133, 24.9556, 5.8486)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A26 #70269A
analogous
#8A9A26 #509A26 #269A36
triadic
#509A26 #26509A #9A2650
tetradic
#509A26 #268A9A #70269A #9A3626
square
#509A26 #268A9A #70269A #9A3626
split-complementary
#509A26 #36269A #9A268A
monochromatic
#1D380E #36691A #509A26 #69CB32 #8DD862

Accessibility & contrast

On white

3.51
#509A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#509A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A26
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A26#FFFFFF#000000##000000
##509A261.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0E
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#4C9484
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a26;
/* rgb */ color: rgb(80, 154, 38);
/* oklch */ color: oklch(61.5% 0.165 136.7);
Tailwind
colors: {
  custom: {
    50: '#88b869',
    500: '#509a26',
    950: '#000000',
  },
}
SCSS
$custom: #509a26;
$custom-light: #88b869;
$custom-dark: #000000;
JSON
{
  "hex": "#509a26",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 38
  },
  "hsl": {
    "h": 98.276,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61515,
    "c": 0.16526,
    "h": 136.7
  },
  "luminance": 0.24957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #509A26

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

Preview Lab → · Contrast checker → · Palette generator →

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