#505016#505016

#505016 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.078 H 109.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#505016
RGBrgb(80, 80, 22)
HSLhsl(60, 57%, 20%)
HSVhsv(60, 73%, 31%)
CMYKcmyk(0%, 0%, 72.5%, 68.6%)
CIE-LABlab(32.92, -8.28, 32.71)
CIE-LCHlch(32.92, 33.74, 104.21°)
OKLaboklab(41.89% -0.0258 0.0735)
OKLCHoklch(41.89% 0.078 109.3)
XYZxyz(6.3220, 7.5009, 1.8737)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505016 #161650
analogous
#503316 #505016 #335016
triadic
#505016 #165050 #501650
tetradic
#505016 #165033 #161650 #501633
square
#505016 #165033 #161650 #501633
split-complementary
#505016 #163350 #331650
monochromatic
#181807 #202009 #505016 #808023 #B0B030

Accessibility & contrast

On white

8.40
#505016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#505016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505016
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505016#FFFFFF#000000##FFFFFF
##5050161.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0E
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#564B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #505016;
/* rgb */ color: rgb(80, 80, 22);
/* oklch */ color: oklch(41.9% 0.078 109.3);
Tailwind
colors: {
  custom: {
    50: '#838057',
    500: '#505016',
    950: '#000000',
  },
}
SCSS
$custom: #505016;
$custom-light: #838057;
$custom-dark: #000000;
JSON
{
  "hex": "#505016",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.07787,
    "h": 109.3
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#505016
secondary
#3A3A87
accent
#48E048
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505016

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

Preview Lab → · Contrast checker → · Palette generator →

#505016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva