#50901F#50901F

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

Color values

HEX#50901F
RGBrgb(80, 144, 31)
HSLhsl(94, 65%, 34%)
HSVhsv(94, 78%, 56%)
CMYKcmyk(44.4%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.76, -39.63, 49.72)
CIE-LCHlch(53.76, 63.58, 128.56°)
OKLaboklab(58.82% -0.1109 0.1107)
OKLCHoklch(58.82% 0.157 135)
XYZxyz(13.5285, 21.7501, 4.7814)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50901F #5F1F90
analogous
#89901F #50901F #1F9027
triadic
#50901F #1F5090 #901F50
tetradic
#50901F #1F8990 #5F1F90 #90271F
square
#50901F #1F8990 #5F1F90 #90271F
split-complementary
#50901F #271F90 #901F89
monochromatic
#182B09 #345E14 #50901F #6CC22A #8CD950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50901F#FFFFFF#000000##000000
##50901F1.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)
#968402
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#4E8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #50901f;
/* rgb */ color: rgb(80, 144, 31);
/* oklch */ color: oklch(58.8% 0.157 135.0);
Tailwind
colors: {
  custom: {
    50: '#87b164',
    500: '#50901f',
    950: '#000000',
  },
}
SCSS
$custom: #50901f;
$custom-light: #87b164;
$custom-dark: #000000;
JSON
{
  "hex": "#50901f",
  "rgb": {
    "r": 80,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 93.982,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58816,
    "c": 0.15665,
    "h": 135
  },
  "luminance": 0.21751
}

Semantic roles & 50–950 ramp

primary
#50901F
secondary
#8D4EBC
accent
#40E89F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #50901F

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

Preview Lab → · Contrast checker → · Palette generator →

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