#509120#509120

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

Color values

HEX#509120
RGBrgb(80, 145, 32)
HSLhsl(95, 64%, 35%)
HSVhsv(95, 78%, 57%)
CMYKcmyk(44.8%, 0%, 77.9%, 43.1%)
CIE-LABlab(54.09, -39.99, 49.69)
CIE-LCHlch(54.09, 63.79, 128.83°)
OKLaboklab(59.09% -0.1118 0.1108)
OKLCHoklch(59.09% 0.157 135.3)
XYZxyz(13.6941, 22.0598, 4.9026)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509120 #612091
analogous
#899120 #509120 #209128
triadic
#509120 #205091 #912050
tetradic
#509120 #208991 #612091 #912820
square
#509120 #208991 #612091 #912820
split-complementary
#509120 #282091 #912089
monochromatic
#192D0A #345F15 #509120 #6CC32B #8CD952

Accessibility & contrast

On white

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

On black

5.41
#509120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509120
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509120#FFFFFF#000000##000000
##5091201.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #509120;
/* rgb */ color: rgb(80, 145, 32);
/* oklch */ color: oklch(59.1% 0.157 135.3);
Tailwind
colors: {
  custom: {
    50: '#87b265',
    500: '#509120',
    950: '#000000',
  },
}
SCSS
$custom: #509120;
$custom-light: #87b265;
$custom-dark: #000000;
JSON
{
  "hex": "#509120",
  "rgb": {
    "r": 80,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 94.513,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.15737,
    "h": 135.3
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#509120
secondary
#8F51BC
accent
#41E7A0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509120

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

Preview Lab → · Contrast checker → · Palette generator →

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