#50841C#50841C

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

Color values

HEX#50841C
RGBrgb(80, 132, 28)
HSLhsl(90, 65%, 31%)
HSVhsv(90, 79%, 52%)
CMYKcmyk(39.4%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.85, -34.61, 47.00)
CIE-LCHlch(49.85, 58.37, 126.37°)
OKLaboklab(55.61% -0.0975 0.1045)
OKLCHoklch(55.61% 0.143 133)
XYZxyz(11.7690, 18.2913, 4.0088)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50841C #501C84
analogous
#84841C #50841C #1C841C
triadic
#50841C #1C5084 #841C50
tetradic
#50841C #1C8484 #501C84 #841C1C
square
#50841C #1C8484 #501C84 #841C1C
split-complementary
#50841C #1C1C84 #841C84
monochromatic
#131F07 #315211 #50841C #6FB627 #8DD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50841C#FFFFFF#000000##000000
##50841C1.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)
#8A7903
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#507E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50841c;
/* rgb */ color: rgb(80, 132, 28);
/* oklch */ color: oklch(55.6% 0.143 133.0);
Tailwind
colors: {
  custom: {
    50: '#86a861',
    500: '#50841c',
    950: '#000000',
  },
}
SCSS
$custom: #50841c;
$custom-light: #86a861;
$custom-dark: #000000;
JSON
{
  "hex": "#50841c",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.14295,
    "h": 133
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#50841C
secondary
#7E45B7
accent
#40E894
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50841C

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

Preview Lab → · Contrast checker → · Palette generator →

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