#50821E#50821E

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

Color values

HEX#50821E
RGBrgb(80, 130, 30)
HSLhsl(90, 63%, 31%)
HSVhsv(90, 77%, 51%)
CMYKcmyk(38.5%, 0%, 76.9%, 49%)
CIE-LABlab(49.21, -33.59, 45.67)
CIE-LCHlch(49.21, 56.69, 126.34°)
OKLaboklab(55.09% -0.0946 0.1021)
OKLCHoklch(55.09% 0.139 132.8)
XYZxyz(11.5251, 17.7640, 4.0496)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50821E #501E82
analogous
#82821E #50821E #1E821E
triadic
#50821E #1E5082 #821E50
tetradic
#50821E #1E8282 #501E82 #821E1E
square
#50821E #1E8282 #501E82 #821E1E
split-complementary
#50821E #1E1E82 #821E82
monochromatic
#131F07 #315013 #50821E #6FB429 #8DD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50821E#FFFFFF#000000##FFFFFF
##50821E1.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)
#887709
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#517D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #50821e;
/* rgb */ color: rgb(80, 130, 30);
/* oklch */ color: oklch(55.1% 0.139 132.8);
Tailwind
colors: {
  custom: {
    50: '#86a662',
    500: '#50821e',
    950: '#000000',
  },
}
SCSS
$custom: #50821e;
$custom-light: #86a662;
$custom-dark: #000000;
JSON
{
  "hex": "#50821e",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.13917,
    "h": 132.8
  },
  "luminance": 0.17764
}

Semantic roles & 50–950 ramp

primary
#50821E
secondary
#7E47B5
accent
#42E694
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #50821E

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

Preview Lab → · Contrast checker → · Palette generator →

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