#50872B#50872B

#50872B is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.5% C 0.137 H 135.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#50872B
RGBrgb(80, 135, 43)
HSLhsl(96, 52%, 35%)
HSVhsv(96, 68%, 53%)
CMYKcmyk(40.7%, 0%, 68.1%, 47.1%)
CIE-LABlab(50.93, -34.84, 42.19)
CIE-LCHlch(50.93, 54.72, 129.55°)
OKLaboklab(56.52% -0.097 0.0967)
OKLCHoklch(56.52% 0.137 135.1)
XYZxyz(12.4080, 19.2072, 5.3386)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50872B #622B87
analogous
#7E872B #50872B #2B8734
triadic
#50872B #2B5087 #872B50
tetradic
#50872B #2B7E87 #622B87 #87342B
square
#50872B #2B7E87 #622B87 #87342B
split-complementary
#50872B #342B87 #872B7E
monochromatic
#192A0D #34591C #50872B #6CB53A #8CCC60

Accessibility & contrast

On white

4.34
#50872B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#50872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50872B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50872B#FFFFFF#000000##000000
##50872B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1F
Deuteranopia (green-blind)
#847833
Tritanopia (blue-blind)
#4F8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #50872b;
/* rgb */ color: rgb(80, 135, 43);
/* oklch */ color: oklch(56.5% 0.137 135.1);
Tailwind
colors: {
  custom: {
    50: '#85aa69',
    500: '#50872b',
    950: '#000000',
  },
}
SCSS
$custom: #50872b;
$custom-light: #85aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#50872b",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 95.87,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.13695,
    "h": 135.1
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

primary
#50872B
secondary
#8F5BB2
accent
#4DDBA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #50872B

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

Preview Lab → · Contrast checker → · Palette generator →

#50872B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva