#509015#509015

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

Color values

HEX#509015
RGBrgb(80, 144, 21)
HSLhsl(91, 75%, 32%)
HSVhsv(91, 85%, 56%)
CMYKcmyk(44.4%, 0%, 85.4%, 43.5%)
CIE-LABlab(53.71, -40.15, 52.66)
CIE-LCHlch(53.71, 66.22, 127.32°)
OKLaboklab(58.76% -0.1128 0.1153)
OKLCHoklch(58.76% 0.161 134.4)
XYZxyz(13.4166, 21.7054, 4.1919)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509015 #551590
analogous
#8D9015 #509015 #159018
triadic
#509015 #155090 #901550
tetradic
#509015 #158D90 #551590 #901815
square
#509015 #158D90 #551590 #901815
split-complementary
#509015 #181590 #90158D
monochromatic
#152505 #325B0D #509015 #6EC51D #8CE33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509015#FFFFFF#000000##000000
##5090151.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)
#8D7E25
Tritanopia (blue-blind)
#4F8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #509015;
/* rgb */ color: rgb(80, 144, 21);
/* oklch */ color: oklch(58.8% 0.161 134.4);
Tailwind
colors: {
  custom: {
    50: '#88b160',
    500: '#509015',
    950: '#000000',
  },
}
SCSS
$custom: #509015;
$custom-light: #88b160;
$custom-dark: #000000;
JSON
{
  "hex": "#509015",
  "rgb": {
    "r": 80,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 91.22,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.16136,
    "h": 134.4
  },
  "luminance": 0.21706
}

Semantic roles & 50–950 ramp

primary
#509015
secondary
#833EC2
accent
#37F198
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #509015

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

Preview Lab → · Contrast checker → · Palette generator →

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