#50821C#50821C

#50821C is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.1% C 0.140 H 132.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#50821C
RGBrgb(80, 130, 28)
HSLhsl(89, 65%, 31%)
HSVhsv(89, 78%, 51%)
CMYKcmyk(38.5%, 0%, 78.5%, 49%)
CIE-LABlab(49.20, -33.72, 46.37)
CIE-LCHlch(49.20, 57.33, 126.02°)
OKLaboklab(55.07% -0.0951 0.1032)
OKLCHoklch(55.07% 0.14 132.7)
XYZxyz(11.5003, 17.7541, 3.9193)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50821C #4E1C82
analogous
#82811C #50821C #1D821C
triadic
#50821C #1C5082 #821C50
tetradic
#50821C #1C8281 #4E1C82 #821C1D
square
#50821C #1C8281 #4E1C82 #821C1D
split-complementary
#50821C #1C1D82 #811C82
monochromatic
#121D06 #315011 #50821C #6FB427 #8ED642

Accessibility & contrast

On white

4.61
#50821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#50821C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #50821C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50821C#FFFFFF#000000##FFFFFF
##50821C1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887704
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#517C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #50821c;
/* rgb */ color: rgb(80, 130, 28);
/* oklch */ color: oklch(55.1% 0.140 132.7);
Tailwind
colors: {
  custom: {
    50: '#86a661',
    500: '#50821c',
    950: '#000000',
  },
}
SCSS
$custom: #50821c;
$custom-light: #86a661;
$custom-dark: #000000;
JSON
{
  "hex": "#50821c",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 89.412,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55073,
    "c": 0.14035,
    "h": 132.7
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#50821C
secondary
#7C44B5
accent
#40E892
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #50821C

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

Preview Lab → · Contrast checker → · Palette generator →

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