#50901D#50901D

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

Color values

HEX#50901D
RGBrgb(80, 144, 29)
HSLhsl(93, 66%, 34%)
HSVhsv(93, 80%, 56%)
CMYKcmyk(44.4%, 0%, 79.9%, 43.5%)
CIE-LABlab(53.75, -39.75, 50.37)
CIE-LCHlch(53.75, 64.16, 128.28°)
OKLaboklab(58.8% -0.1113 0.1117)
OKLCHoklch(58.8% 0.158 134.9)
XYZxyz(13.5030, 21.7399, 4.6469)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50901D #5D1D90
analogous
#8A901D #50901D #1D9023
triadic
#50901D #1D5090 #901D50
tetradic
#50901D #1D8A90 #5D1D90 #90231D
square
#50901D #1D8A90 #5D1D90 #90231D
split-complementary
#50901D #231D90 #901D8A
monochromatic
#172A08 #345D13 #50901D #6CC327 #8CDB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50901D#FFFFFF#000000##000000
##50901D1.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)
#8D7F2A
Tritanopia (blue-blind)
#4E8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #50901d;
/* rgb */ color: rgb(80, 144, 29);
/* oklch */ color: oklch(58.8% 0.158 134.9);
Tailwind
colors: {
  custom: {
    50: '#87b163',
    500: '#50901d',
    950: '#000000',
  },
}
SCSS
$custom: #50901d;
$custom-light: #87b163;
$custom-dark: #000000;
JSON
{
  "hex": "#50901d",
  "rgb": {
    "r": 80,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 93.391,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.15771,
    "h": 134.9
  },
  "luminance": 0.21741
}

Semantic roles & 50–950 ramp

primary
#50901D
secondary
#8B4BBD
accent
#3EE99E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50901D

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

Preview Lab → · Contrast checker → · Palette generator →

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