#50841F#50841F

#50841F is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.141 H 133.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#50841F
RGBrgb(80, 132, 31)
HSLhsl(91, 62%, 32%)
HSVhsv(91, 77%, 52%)
CMYKcmyk(39.4%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.87, -34.42, 45.95)
CIE-LCHlch(49.87, 57.41, 126.84°)
OKLaboklab(55.63% -0.0968 0.1028)
OKLCHoklch(55.63% 0.141 133.3)
XYZxyz(11.8067, 18.3064, 4.2074)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50841F #531F84
analogous
#83841F #50841F #1F8421
triadic
#50841F #1F5084 #841F50
tetradic
#50841F #1F8384 #531F84 #84211F
square
#50841F #1F8384 #531F84 #84211F
split-complementary
#50841F #211F84 #841F83
monochromatic
#142108 #325213 #50841F #6EB62B #8DD449

Accessibility & contrast

On white

4.51
#50841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#50841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50841F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50841F#FFFFFF#000000##000000
##50841F1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790A
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#507F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50841f;
/* rgb */ color: rgb(80, 132, 31);
/* oklch */ color: oklch(55.6% 0.141 133.3);
Tailwind
colors: {
  custom: {
    50: '#86a862',
    500: '#50841f',
    950: '#000000',
  },
}
SCSS
$custom: #50841f;
$custom-light: #86a862;
$custom-dark: #000000;
JSON
{
  "hex": "#50841f",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 90.891,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.1412,
    "h": 133.3
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#50841F
secondary
#8148B7
accent
#43E596
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50841F

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

Preview Lab → · Contrast checker → · Palette generator →

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