#50971A#50971A

#50971A is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.6% C 0.168 H 135.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#50971A
RGBrgb(80, 151, 26)
HSLhsl(94, 71%, 35%)
HSVhsv(94, 83%, 59%)
CMYKcmyk(47%, 0%, 82.8%, 40.8%)
CIE-LABlab(56.00, -42.81, 53.36)
CIE-LCHlch(56.00, 68.41, 128.74°)
OKLaboklab(60.65% -0.1197 0.1176)
OKLCHoklch(60.65% 0.168 135.5)
XYZxyz(14.5610, 23.9124, 4.8254)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50971A #611A97
analogous
#8F971A #50971A #1A9723
triadic
#50971A #1A5097 #971A50
tetradic
#50971A #1A8F97 #611A97 #97231A
square
#50971A #1A8F97 #611A97 #97231A
split-complementary
#50971A #231A97 #971A8F
monochromatic
#192F08 #346311 #50971A #6CCB23 #8CE04B

Accessibility & contrast

On white

3.63
#50971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#50971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50971A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50971A#FFFFFF#000000##000000
##50971A1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#4D9180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #50971a;
/* rgb */ color: rgb(80, 151, 26);
/* oklch */ color: oklch(60.6% 0.168 135.5);
Tailwind
colors: {
  custom: {
    50: '#88b663',
    500: '#50971a',
    950: '#000000',
  },
}
SCSS
$custom: #50971a;
$custom-light: #88b663;
$custom-dark: #000000;
JSON
{
  "hex": "#50971a",
  "rgb": {
    "r": 80,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 94.08,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.16777,
    "h": 135.5
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

primary
#50971A
secondary
#8F4BC2
accent
#3AEDA0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50971A

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

Preview Lab → · Contrast checker → · Palette generator →

#50971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva