#509121#509121

#509121 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#509121
RGBrgb(80, 145, 33)
HSLhsl(95, 63%, 35%)
HSVhsv(95, 77%, 57%)
CMYKcmyk(44.8%, 0%, 77.2%, 43.1%)
CIE-LABlab(54.10, -39.93, 49.35)
CIE-LCHlch(54.10, 63.48, 128.97°)
OKLaboklab(59.1% -0.1115 0.1102)
OKLCHoklch(59.1% 0.157 135.3)
XYZxyz(13.7079, 22.0653, 4.9753)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509121 #622191
analogous
#889121 #509121 #21912A
triadic
#509121 #215091 #912150
tetradic
#509121 #218891 #622191 #912A21
square
#509121 #218891 #622191 #912A21
split-complementary
#509121 #2A2191 #912188
monochromatic
#192D0A #345F16 #509121 #6CC32C #8CD854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509121#FFFFFF#000000##000000
##5091211.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)
#968507
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#4E8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #509121;
/* rgb */ color: rgb(80, 145, 33);
/* oklch */ color: oklch(59.1% 0.157 135.3);
Tailwind
colors: {
  custom: {
    50: '#87b265',
    500: '#509121',
    950: '#000000',
  },
}
SCSS
$custom: #509121;
$custom-light: #87b265;
$custom-dark: #000000;
JSON
{
  "hex": "#509121",
  "rgb": {
    "r": 80,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 94.821,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59095,
    "c": 0.15681,
    "h": 135.3
  },
  "luminance": 0.22066
}

Semantic roles & 50–950 ramp

primary
#509121
secondary
#8F52BC
accent
#42E6A1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509121

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

Preview Lab → · Contrast checker → · Palette generator →

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