#50971E#50971E

#50971E is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.7% C 0.166 H 135.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#50971E
RGBrgb(80, 151, 30)
HSLhsl(95, 67%, 35%)
HSVhsv(95, 80%, 59%)
CMYKcmyk(47%, 0%, 80.1%, 40.8%)
CIE-LABlab(56.02, -42.60, 52.18)
CIE-LCHlch(56.02, 67.36, 129.22°)
OKLaboklab(60.67% -0.1189 0.1157)
OKLCHoklch(60.67% 0.166 135.8)
XYZxyz(14.6088, 23.9315, 5.0775)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50971E #651E97
analogous
#8C971E #50971E #1E9729
triadic
#50971E #1E5097 #971E50
tetradic
#50971E #1E8C97 #651E97 #97291E
square
#50971E #1E8C97 #651E97 #97291E
split-complementary
#50971E #291E97 #971E8C
monochromatic
#1A310A #356414 #50971E #6BCA28 #8CDD53

Accessibility & contrast

On white

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

On black

5.79
#50971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50971E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50971E#FFFFFF#000000##000000
##50971E1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#4D9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #50971e;
/* rgb */ color: rgb(80, 151, 30);
/* oklch */ color: oklch(60.7% 0.166 135.8);
Tailwind
colors: {
  custom: {
    50: '#88b665',
    500: '#50971e',
    950: '#000000',
  },
}
SCSS
$custom: #50971e;
$custom-light: #88b665;
$custom-dark: #000000;
JSON
{
  "hex": "#50971e",
  "rgb": {
    "r": 80,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 95.207,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60668,
    "c": 0.1659,
    "h": 135.8
  },
  "luminance": 0.23932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #50971E

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

Preview Lab → · Contrast checker → · Palette generator →

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