#509011#509011

#509011 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.7% C 0.163 H 134.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#509011
RGBrgb(80, 144, 17)
HSLhsl(90, 79%, 32%)
HSVhsv(90, 88%, 56%)
CMYKcmyk(44.4%, 0%, 88.2%, 43.5%)
CIE-LABlab(53.70, -40.31, 53.62)
CIE-LCHlch(53.70, 67.08, 126.93°)
OKLaboklab(58.75% -0.1135 0.1168)
OKLCHoklch(58.75% 0.163 134.2)
XYZxyz(13.3825, 21.6917, 4.0120)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509011 #511190
analogous
#909011 #509011 #119011
triadic
#509011 #115090 #901150
tetradic
#509011 #119090 #511190 #901111
square
#509011 #119090 #511190 #901111
split-complementary
#509011 #111190 #901190
monochromatic
#132304 #32590B #509011 #6EC717 #8DE734

Accessibility & contrast

On white

3.93
#509011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#509011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509011
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509011#FFFFFF#000000##000000
##5090111.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#4F8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #509011;
/* rgb */ color: rgb(80, 144, 17);
/* oklch */ color: oklch(58.7% 0.163 134.2);
Tailwind
colors: {
  custom: {
    50: '#88b15f',
    500: '#509011',
    950: '#000000',
  },
}
SCSS
$custom: #509011;
$custom-light: #88b15f;
$custom-dark: #000000;
JSON
{
  "hex": "#509011",
  "rgb": {
    "r": 80,
    "g": 144,
    "b": 17
  },
  "hsl": {
    "h": 90.236,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.16284,
    "h": 134.2
  },
  "luminance": 0.21692
}

Semantic roles & 50–950 ramp

primary
#509011
secondary
#7F39C4
accent
#32F595
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1105
muted
#7D8079

Preview Lab

Preview with #509011

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

Preview Lab → · Contrast checker → · Palette generator →

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