#50851C#50851C

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

Color values

HEX#50851C
RGBrgb(80, 133, 28)
HSLhsl(90, 65%, 32%)
HSVhsv(90, 79%, 52%)
CMYKcmyk(39.8%, 0%, 78.9%, 47.8%)
CIE-LABlab(50.17, -35.06, 47.31)
CIE-LCHlch(50.17, 58.88, 126.54°)
OKLaboklab(55.87% -0.0987 0.1052)
OKLCHoklch(55.87% 0.144 133.2)
XYZxyz(11.9052, 18.5638, 4.0543)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50851C #511C85
analogous
#85851C #50851C #1C851D
triadic
#50851C #1C5085 #851C50
tetradic
#50851C #1C8585 #511C85 #851D1C
square
#50851C #1C8585 #511C85 #851D1C
split-complementary
#50851C #1D1C85 #851C85
monochromatic
#132007 #325211 #50851C #6EB827 #8DD844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50851C#FFFFFF#000000##000000
##50851C1.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)
#8B7A02
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#507F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50851c;
/* rgb */ color: rgb(80, 133, 28);
/* oklch */ color: oklch(55.9% 0.144 133.2);
Tailwind
colors: {
  custom: {
    50: '#86a961',
    500: '#50851c',
    950: '#000000',
  },
}
SCSS
$custom: #50851c;
$custom-light: #86a961;
$custom-dark: #000000;
JSON
{
  "hex": "#50851c",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 90.286,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.14424,
    "h": 133.2
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#50851C
secondary
#7F45B8
accent
#40E895
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #50851C

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

Preview Lab → · Contrast checker → · Palette generator →

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