#50971D#50971D

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

Color values

HEX#50971D
RGBrgb(80, 151, 29)
HSLhsl(95, 68%, 35%)
HSVhsv(95, 81%, 59%)
CMYKcmyk(47%, 0%, 80.8%, 40.8%)
CIE-LABlab(56.01, -42.65, 52.49)
CIE-LCHlch(56.01, 67.63, 129.10°)
OKLaboklab(60.66% -0.1191 0.1162)
OKLCHoklch(60.66% 0.166 135.7)
XYZxyz(14.5963, 23.9265, 5.0113)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50971D #641D97
analogous
#8D971D #50971D #1D9727
triadic
#50971D #1D5097 #971D50
tetradic
#50971D #1D8D97 #641D97 #97271D
square
#50971D #1D8D97 #641D97 #97271D
split-complementary
#50971D #271D97 #971D8D
monochromatic
#1A3009 #356413 #50971D #6BCA27 #8CDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50971D#FFFFFF#000000##000000
##50971D1.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)
#93842B
Tritanopia (blue-blind)
#4D9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #50971d;
/* rgb */ color: rgb(80, 151, 29);
/* oklch */ color: oklch(60.7% 0.166 135.7);
Tailwind
colors: {
  custom: {
    50: '#88b664',
    500: '#50971d',
    950: '#000000',
  },
}
SCSS
$custom: #50971d;
$custom-light: #88b664;
$custom-dark: #000000;
JSON
{
  "hex": "#50971d",
  "rgb": {
    "r": 80,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 94.918,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60663,
    "c": 0.16639,
    "h": 135.7
  },
  "luminance": 0.23927
}

Semantic roles & 50–950 ramp

primary
#50971D
secondary
#914FC0
accent
#3DEBA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50971D

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

Preview Lab → · Contrast checker → · Palette generator →

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