#50872C#50872C

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

Color values

HEX#50872C
RGBrgb(80, 135, 44)
HSLhsl(96, 51%, 35%)
HSVhsv(96, 67%, 53%)
CMYKcmyk(40.7%, 0%, 67.4%, 47.1%)
CIE-LABlab(50.94, -34.75, 41.76)
CIE-LCHlch(50.94, 54.33, 129.76°)
OKLaboklab(56.53% -0.0967 0.0959)
OKLCHoklch(56.53% 0.136 135.2)
XYZxyz(12.4266, 19.2146, 5.4364)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50872C #632C87
analogous
#7D872C #50872C #2C8736
triadic
#50872C #2C5087 #872C50
tetradic
#50872C #2C7D87 #632C87 #87362C
square
#50872C #2C7D87 #632C87 #87362C
split-complementary
#50872C #362C87 #872C7D
monochromatic
#192B0E #35591D #50872C #6BB53B #8CCC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50872C#FFFFFF#000000##000000
##50872C1.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)
#8C7C20
Deuteranopia (green-blind)
#847834
Tritanopia (blue-blind)
#4F8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #50872c;
/* rgb */ color: rgb(80, 135, 44);
/* oklch */ color: oklch(56.5% 0.136 135.2);
Tailwind
colors: {
  custom: {
    50: '#85aa6a',
    500: '#50872c',
    950: '#000000',
  },
}
SCSS
$custom: #50872c;
$custom-light: #85aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#50872c",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 96.264,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56533,
    "c": 0.13618,
    "h": 135.2
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#50872C
secondary
#905DB2
accent
#4DDAA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #50872C

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

Preview Lab → · Contrast checker → · Palette generator →

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