#50872F#50872F

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

Color values

HEX#50872F
RGBrgb(80, 135, 47)
HSLhsl(98, 48%, 36%)
HSVhsv(98, 65%, 53%)
CMYKcmyk(40.7%, 0%, 65.2%, 47.1%)
CIE-LABlab(50.96, -34.47, 40.45)
CIE-LCHlch(50.96, 53.14, 130.44°)
OKLaboklab(56.56% -0.0957 0.0935)
OKLCHoklch(56.56% 0.134 135.7)
XYZxyz(12.4850, 19.2380, 5.7442)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50872F #662F87
analogous
#7C872F #50872F #2F873A
triadic
#50872F #2F5087 #872F50
tetradic
#50872F #2F7C87 #662F87 #873A2F
square
#50872F #2F7C87 #662F87 #873A2F
split-complementary
#50872F #3A2F87 #872F7C
monochromatic
#1A2C0F #355A1F #50872F #6BB43F #8CCA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50872F#FFFFFF#000000##000000
##50872F1.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)
#8C7C24
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#4E8275
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #50872f;
/* rgb */ color: rgb(80, 135, 47);
/* oklch */ color: oklch(56.6% 0.134 135.7);
Tailwind
colors: {
  custom: {
    50: '#85aa6c',
    500: '#50872f',
    950: '#000000',
  },
}
SCSS
$custom: #50872f;
$custom-light: #85aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#50872f",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 97.5,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.13377,
    "h": 135.7
  },
  "luminance": 0.19239
}

Semantic roles & 50–950 ramp

primary
#50872F
secondary
#9361B1
accent
#50D8A5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #50872F

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

Preview Lab → · Contrast checker → · Palette generator →

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