#50901C#50901C

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

Color values

HEX#50901C
RGBrgb(80, 144, 28)
HSLhsl(93, 67%, 34%)
HSVhsv(93, 81%, 56%)
CMYKcmyk(44.4%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.74, -39.81, 50.68)
CIE-LCHlch(53.74, 64.44, 128.15°)
OKLaboklab(58.8% -0.1115 0.1122)
OKLCHoklch(58.8% 0.158 134.8)
XYZxyz(13.4908, 21.7351, 4.5828)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50901C #5C1C90
analogous
#8A901C #50901C #1C9022
triadic
#50901C #1C5090 #901C50
tetradic
#50901C #1C8A90 #5C1C90 #90221C
square
#50901C #1C8A90 #5C1C90 #90221C
split-complementary
#50901C #221C90 #901C8A
monochromatic
#172A08 #345D12 #50901C #6CC326 #8CDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50901C#FFFFFF#000000##000000
##50901C1.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)
#8D7F29
Tritanopia (blue-blind)
#4F8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #50901c;
/* rgb */ color: rgb(80, 144, 28);
/* oklch */ color: oklch(58.8% 0.158 134.8);
Tailwind
colors: {
  custom: {
    50: '#87b163',
    500: '#50901c',
    950: '#000000',
  },
}
SCSS
$custom: #50901c;
$custom-light: #87b163;
$custom-dark: #000000;
JSON
{
  "hex": "#50901c",
  "rgb": {
    "r": 80,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 93.103,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.15822,
    "h": 134.8
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#50901C
secondary
#8A4ABE
accent
#3DEA9D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50901C

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

Preview Lab → · Contrast checker → · Palette generator →

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