#50971C#50971C

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

Color values

HEX#50971C
RGBrgb(80, 151, 28)
HSLhsl(95, 69%, 35%)
HSVhsv(95, 81%, 59%)
CMYKcmyk(47%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.01, -42.70, 52.79)
CIE-LCHlch(56.01, 67.90, 128.97°)
OKLaboklab(60.66% -0.1193 0.1167)
OKLCHoklch(60.66% 0.167 135.6)
XYZxyz(14.5841, 23.9216, 4.9472)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50971C #631C97
analogous
#8E971C #50971C #1C9725
triadic
#50971C #1C5097 #971C50
tetradic
#50971C #1C8E97 #631C97 #97251C
square
#50971C #1C8E97 #631C97 #97251C
split-complementary
#50971C #251C97 #971C8E
monochromatic
#193009 #356312 #50971C #6BCB26 #8CDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #50971c;
/* rgb */ color: rgb(80, 151, 28);
/* oklch */ color: oklch(60.7% 0.167 135.6);
Tailwind
colors: {
  custom: {
    50: '#88b664',
    500: '#50971c',
    950: '#000000',
  },
}
SCSS
$custom: #50971c;
$custom-light: #88b664;
$custom-dark: #000000;
JSON
{
  "hex": "#50971c",
  "rgb": {
    "r": 80,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 94.634,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.16686,
    "h": 135.6
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#50971C
secondary
#904EC1
accent
#3CECA1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50971C

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

Preview Lab → · Contrast checker → · Palette generator →

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