#50901B#50901B

#50901B is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.159 H 134.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#50901B
RGBrgb(80, 144, 27)
HSLhsl(93, 68%, 34%)
HSVhsv(93, 81%, 56%)
CMYKcmyk(44.4%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.74, -39.86, 50.99)
CIE-LCHlch(53.74, 64.72, 128.02°)
OKLaboklab(58.79% -0.1117 0.1127)
OKLCHoklch(58.79% 0.159 134.7)
XYZxyz(13.4791, 21.7303, 4.5208)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50901B #5B1B90
analogous
#8A901B #50901B #1B9021
triadic
#50901B #1B5090 #901B50
tetradic
#50901B #1B8A90 #5B1B90 #90211B
square
#50901B #1B8A90 #5B1B90 #90211B
split-complementary
#50901B #211B90 #901B8A
monochromatic
#172908 #335C11 #50901B #6DC425 #8CDD49

Accessibility & contrast

On white

3.93
#50901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#50901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50901B
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50901B#FFFFFF#000000##000000
##50901B1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#4F8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #50901b;
/* rgb */ color: rgb(80, 144, 27);
/* oklch */ color: oklch(58.8% 0.159 134.7);
Tailwind
colors: {
  custom: {
    50: '#87b162',
    500: '#50901b',
    950: '#000000',
  },
}
SCSS
$custom: #50901b;
$custom-light: #87b162;
$custom-dark: #000000;
JSON
{
  "hex": "#50901b",
  "rgb": {
    "r": 80,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 92.821,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.15871,
    "h": 134.7
  },
  "luminance": 0.21731
}

Semantic roles & 50–950 ramp

primary
#50901B
secondary
#8948BF
accent
#3DEB9C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50901B

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

Preview Lab → · Contrast checker → · Palette generator →

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