#50971F#50971F

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

Color values

HEX#50971F
RGBrgb(80, 151, 31)
HSLhsl(96, 66%, 36%)
HSVhsv(96, 79%, 59%)
CMYKcmyk(47%, 0%, 79.5%, 40.8%)
CIE-LABlab(56.02, -42.54, 51.87)
CIE-LCHlch(56.02, 67.08, 129.35°)
OKLaboklab(60.67% -0.1187 0.1152)
OKLCHoklch(60.67% 0.165 135.9)
XYZxyz(14.6218, 23.9367, 5.1458)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50971F #661F97
analogous
#8C971F #50971F #1F972A
triadic
#50971F #1F5097 #971F50
tetradic
#50971F #1F8C97 #661F97 #972A1F
square
#50971F #1F8C97 #661F97 #972A1F
split-complementary
#50971F #2A1F97 #971F8C
monochromatic
#1A310A #356415 #50971F #6BCA29 #8CDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50971F#FFFFFF#000000##000000
##50971F1.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: #50971f;
/* rgb */ color: rgb(80, 151, 31);
/* oklch */ color: oklch(60.7% 0.165 135.9);
Tailwind
colors: {
  custom: {
    50: '#88b665',
    500: '#50971f',
    950: '#000000',
  },
}
SCSS
$custom: #50971f;
$custom-light: #88b665;
$custom-dark: #000000;
JSON
{
  "hex": "#50971f",
  "rgb": {
    "r": 80,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 95.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.16539,
    "h": 135.9
  },
  "luminance": 0.23938
}

Semantic roles & 50–950 ramp

primary
#50971F
secondary
#9352BF
accent
#3FE9A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50971F

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

Preview Lab → · Contrast checker → · Palette generator →

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