#50872A#50872A

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

Color values

HEX#50872A
RGBrgb(80, 135, 42)
HSLhsl(95, 53%, 35%)
HSVhsv(95, 69%, 53%)
CMYKcmyk(40.7%, 0%, 68.9%, 47.1%)
CIE-LABlab(50.92, -34.93, 42.62)
CIE-LCHlch(50.92, 55.10, 129.34°)
OKLaboklab(56.51% -0.0973 0.0974)
OKLCHoklch(56.51% 0.138 135)
XYZxyz(12.3899, 19.2000, 5.2432)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50872A #612A87
analogous
#7E872A #50872A #2A8733
triadic
#50872A #2A5087 #872A50
tetradic
#50872A #2A7E87 #612A87 #87332A
square
#50872A #2A7E87 #612A87 #87332A
split-complementary
#50872A #332A87 #872A7E
monochromatic
#192A0D #34581B #50872A #6CB639 #8CCD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50872A#FFFFFF#000000##000000
##50872A1.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)
#8C7C1D
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#4F8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #50872a;
/* rgb */ color: rgb(80, 135, 42);
/* oklch */ color: oklch(56.5% 0.138 135.0);
Tailwind
colors: {
  custom: {
    50: '#86aa69',
    500: '#50872a',
    950: '#000000',
  },
}
SCSS
$custom: #50872a;
$custom-light: #86aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#50872a",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 95.484,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.13771,
    "h": 135
  },
  "luminance": 0.19201
}

Semantic roles & 50–950 ramp

primary
#50872A
secondary
#8F5AB3
accent
#4CDCA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #50872A

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

Preview Lab → · Contrast checker → · Palette generator →

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