#50872D#50872D

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

Color values

HEX#50872D
RGBrgb(80, 135, 45)
HSLhsl(97, 50%, 35%)
HSVhsv(97, 67%, 53%)
CMYKcmyk(40.7%, 0%, 66.7%, 47.1%)
CIE-LABlab(50.95, -34.66, 41.33)
CIE-LCHlch(50.95, 53.94, 129.99°)
OKLaboklab(56.54% -0.0963 0.0951)
OKLCHoklch(56.54% 0.135 135.4)
XYZxyz(12.4456, 19.2222, 5.5366)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50872D #642D87
analogous
#7D872D #50872D #2D8737
triadic
#50872D #2D5087 #872D50
tetradic
#50872D #2D7D87 #642D87 #87372D
square
#50872D #2D7D87 #642D87 #87372D
split-complementary
#50872D #372D87 #872D7D
monochromatic
#1A2B0E #35591E #50872D #6BB53C #8CCB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50872D#FFFFFF#000000##000000
##50872D1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50872d;
/* rgb */ color: rgb(80, 135, 45);
/* oklch */ color: oklch(56.5% 0.135 135.4);
Tailwind
colors: {
  custom: {
    50: '#85aa6a',
    500: '#50872d',
    950: '#000000',
  },
}
SCSS
$custom: #50872d;
$custom-light: #85aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#50872d",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 96.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.13539,
    "h": 135.4
  },
  "luminance": 0.19223
}

Semantic roles & 50–950 ramp

primary
#50872D
secondary
#915EB2
accent
#4EDAA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #50872D

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

Preview Lab → · Contrast checker → · Palette generator →

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