#509126#509126

#509126 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.1% C 0.154 H 135.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#509126
RGBrgb(80, 145, 38)
HSLhsl(96, 58%, 36%)
HSVhsv(96, 74%, 57%)
CMYKcmyk(44.8%, 0%, 73.8%, 43.1%)
CIE-LABlab(54.13, -39.59, 47.56)
CIE-LCHlch(54.13, 61.88, 129.78°)
OKLaboklab(59.13% -0.1102 0.1072)
OKLCHoklch(59.13% 0.154 135.8)
XYZxyz(13.7832, 22.0954, 5.3719)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509126 #672691
analogous
#859126 #509126 #269132
triadic
#509126 #265091 #912650
tetradic
#509126 #268591 #672691 #913226
square
#509126 #268591 #672691 #913226
split-complementary
#509126 #322691 #912685
monochromatic
#1A300D #356119 #509126 #6BC133 #8CD55D

Accessibility & contrast

On white

3.88
#509126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#509126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509126
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509126#FFFFFF#000000##000000
##5091261.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968513
Deuteranopia (green-blind)
#8E7F30
Tritanopia (blue-blind)
#4E8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #509126;
/* rgb */ color: rgb(80, 145, 38);
/* oklch */ color: oklch(59.1% 0.154 135.8);
Tailwind
colors: {
  custom: {
    50: '#87b268',
    500: '#509126',
    950: '#000000',
  },
}
SCSS
$custom: #509126;
$custom-light: #87b268;
$custom-dark: #000000;
JSON
{
  "hex": "#509126",
  "rgb": {
    "r": 80,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 96.449,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59131,
    "c": 0.15379,
    "h": 135.8
  },
  "luminance": 0.22096
}

Semantic roles & 50–950 ramp

primary
#509126
secondary
#9459BA
accent
#46E2A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509126

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

Preview Lab → · Contrast checker → · Palette generator →

#509126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva