#50971B#50971B

#50971B 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#50971B
RGBrgb(80, 151, 27)
HSLhsl(94, 70%, 35%)
HSVhsv(94, 82%, 59%)
CMYKcmyk(47%, 0%, 82.1%, 40.8%)
CIE-LABlab(56.00, -42.76, 53.08)
CIE-LCHlch(56.00, 68.16, 128.85°)
OKLaboklab(60.65% -0.1195 0.1171)
OKLCHoklch(60.65% 0.167 135.6)
XYZxyz(14.5723, 23.9169, 4.8853)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50971B #621B97
analogous
#8E971B #50971B #1B9724
triadic
#50971B #1B5097 #971B50
tetradic
#50971B #1B8E97 #621B97 #97241B
square
#50971B #1B8E97 #621B97 #97241B
split-complementary
#50971B #241B97 #971B8E
monochromatic
#192F08 #346312 #50971B #6CCB24 #8CDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50971B#FFFFFF#000000##000000
##50971B1.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)
#4D9180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #50971b;
/* rgb */ color: rgb(80, 151, 27);
/* oklch */ color: oklch(60.7% 0.167 135.6);
Tailwind
colors: {
  custom: {
    50: '#88b663',
    500: '#50971b',
    950: '#000000',
  },
}
SCSS
$custom: #50971b;
$custom-light: #88b663;
$custom-dark: #000000;
JSON
{
  "hex": "#50971b",
  "rgb": {
    "r": 80,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 94.355,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.16732,
    "h": 135.6
  },
  "luminance": 0.23918
}

Semantic roles & 50–950 ramp

primary
#50971B
secondary
#8F4CC1
accent
#3BECA1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50971B

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

Preview Lab → · Contrast checker → · Palette generator →

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