#50872E#50872E

#50872E is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.6% C 0.135 H 135.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#50872E
RGBrgb(80, 135, 46)
HSLhsl(97, 49%, 35%)
HSVhsv(97, 66%, 53%)
CMYKcmyk(40.7%, 0%, 65.9%, 47.1%)
CIE-LABlab(50.96, -34.57, 40.89)
CIE-LCHlch(50.96, 53.54, 130.21°)
OKLaboklab(56.55% -0.096 0.0943)
OKLCHoklch(56.55% 0.135 135.5)
XYZxyz(12.4651, 19.2300, 5.6392)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50872E #652E87
analogous
#7C872E #50872E #2E8739
triadic
#50872E #2E5087 #872E50
tetradic
#50872E #2E7C87 #652E87 #87392E
square
#50872E #2E7C87 #652E87 #87392E
split-complementary
#50872E #392E87 #872E7C
monochromatic
#1A2C0F #35591E #50872E #6BB53E #8CCA65

Accessibility & contrast

On white

4.33
#50872E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#50872E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50872E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50872E#FFFFFF#000000##000000
##50872E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50872e;
/* rgb */ color: rgb(80, 135, 46);
/* oklch */ color: oklch(56.6% 0.135 135.5);
Tailwind
colors: {
  custom: {
    50: '#85aa6b',
    500: '#50872e',
    950: '#000000',
  },
}
SCSS
$custom: #50872e;
$custom-light: #85aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#50872e",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 97.079,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.13459,
    "h": 135.5
  },
  "luminance": 0.19231
}

Semantic roles & 50–950 ramp

primary
#50872E
secondary
#9260B1
accent
#4FD9A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #50872E

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

Preview Lab → · Contrast checker → · Palette generator →

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