#509124#509124

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

Color values

HEX#509124
RGBrgb(80, 145, 36)
HSLhsl(96, 60%, 35%)
HSVhsv(96, 75%, 57%)
CMYKcmyk(44.8%, 0%, 75.2%, 43.1%)
CIE-LABlab(54.11, -39.73, 48.30)
CIE-LCHlch(54.11, 62.54, 129.44°)
OKLaboklab(59.12% -0.1108 0.1085)
OKLCHoklch(59.12% 0.155 135.6)
XYZxyz(13.7518, 22.0828, 5.2065)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509124 #652491
analogous
#869124 #509124 #24912F
triadic
#509124 #245091 #912450
tetradic
#509124 #248691 #652491 #912F24
square
#509124 #248691 #652491 #912F24
split-complementary
#509124 #2F2491 #912486
monochromatic
#1A2F0C #356018 #509124 #6BC230 #8CD659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509124#FFFFFF#000000##000000
##5091241.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)
#96850F
Deuteranopia (green-blind)
#8E7F2F
Tritanopia (blue-blind)
#4E8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #509124;
/* rgb */ color: rgb(80, 145, 36);
/* oklch */ color: oklch(59.1% 0.155 135.6);
Tailwind
colors: {
  custom: {
    50: '#87b267',
    500: '#509124',
    950: '#000000',
  },
}
SCSS
$custom: #509124;
$custom-light: #87b267;
$custom-dark: #000000;
JSON
{
  "hex": "#509124",
  "rgb": {
    "r": 80,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 95.78,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59116,
    "c": 0.15504,
    "h": 135.6
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#509124
secondary
#9256BA
accent
#44E3A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509124

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

Preview Lab → · Contrast checker → · Palette generator →

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