#50851A#50851A

#50851A is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.145 H 133.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#50851A
RGBrgb(80, 133, 26)
HSLhsl(90, 67%, 31%)
HSVhsv(90, 80%, 52%)
CMYKcmyk(39.8%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.16, -35.17, 47.96)
CIE-LCHlch(50.16, 59.48, 126.25°)
OKLaboklab(55.86% -0.0992 0.1062)
OKLCHoklch(55.86% 0.145 133)
XYZxyz(11.8821, 18.5546, 3.9324)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50851A #4F1A85
analogous
#85841A #50851A #1A851A
triadic
#50851A #1A5085 #851A50
tetradic
#50851A #1A8584 #4F1A85 #851A1A
square
#50851A #1A8584 #4F1A85 #851A1A
split-complementary
#50851A #1A1A85 #841A85
monochromatic
#121F06 #315210 #50851A #6FB824 #8DDA40

Accessibility & contrast

On white

4.46
#50851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#50851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50851A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50851A#FFFFFF#000000##000000
##50851A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#507F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50851a;
/* rgb */ color: rgb(80, 133, 26);
/* oklch */ color: oklch(55.9% 0.145 133.0);
Tailwind
colors: {
  custom: {
    50: '#86a960',
    500: '#50851a',
    950: '#000000',
  },
}
SCSS
$custom: #50851a;
$custom-light: #86a960;
$custom-dark: #000000;
JSON
{
  "hex": "#50851a",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 89.72,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.14532,
    "h": 133
  },
  "luminance": 0.18555
}

Semantic roles & 50–950 ramp

primary
#50851A
secondary
#7D42B8
accent
#3EEA93
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #50851A

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

Preview Lab → · Contrast checker → · Palette generator →

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