#50981E#50981E

#50981E is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 60.9% C 0.167 H 135.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#50981E
RGBrgb(80, 152, 30)
HSLhsl(95, 67%, 36%)
HSVhsv(95, 80%, 60%)
CMYKcmyk(47.4%, 0%, 80.3%, 40.4%)
CIE-LABlab(56.34, -43.00, 52.49)
CIE-LCHlch(56.34, 67.85, 129.33°)
OKLaboklab(60.93% -0.12 0.1163)
OKLCHoklch(60.93% 0.167 135.9)
XYZxyz(14.7705, 24.2547, 5.1314)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50981E #661E98
analogous
#8D981E #50981E #1E9829
triadic
#50981E #1E5098 #981E50
tetradic
#50981E #1E8D98 #661E98 #98291E
square
#50981E #1E8D98 #661E98 #98291E
split-complementary
#50981E #291E98 #981E8D
monochromatic
#1A320A #356514 #50981E #6BCB28 #8CDD53

Accessibility & contrast

On white

3.59
#50981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#50981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50981E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50981E#FFFFFF#000000##000000
##50981E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#4D9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #50981e;
/* rgb */ color: rgb(80, 152, 30);
/* oklch */ color: oklch(60.9% 0.167 135.9);
Tailwind
colors: {
  custom: {
    50: '#88b765',
    500: '#50981e',
    950: '#000000',
  },
}
SCSS
$custom: #50981e;
$custom-light: #88b765;
$custom-dark: #000000;
JSON
{
  "hex": "#50981e",
  "rgb": {
    "r": 80,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 95.41,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.16712,
    "h": 135.9
  },
  "luminance": 0.24256
}

Semantic roles & 50–950 ramp

primary
#50981E
secondary
#9351C0
accent
#3EEAA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50981E

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

Preview Lab → · Contrast checker → · Palette generator →

#50981E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva