#505011#505011

#505011 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.082 H 109.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#505011
RGBrgb(80, 80, 17)
HSLhsl(60, 65%, 19%)
HSVhsv(60, 79%, 31%)
CMYKcmyk(0%, 0%, 78.8%, 68.6%)
CIE-LABlab(32.88, -8.59, 34.85)
CIE-LCHlch(32.88, 35.89, 103.84°)
OKLaboklab(41.85% -0.0272 0.077)
OKLCHoklch(41.85% 0.082 109.5)
XYZxyz(6.2783, 7.4835, 1.6439)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505011 #111150
analogous
#503111 #505011 #315011
triadic
#505011 #115050 #501150
tetradic
#505011 #115031 #111150 #501131
square
#505011 #115031 #111150 #501131
split-complementary
#505011 #113150 #311150
monochromatic
#191905 #1E1E06 #505011 #82821C #B5B526

Accessibility & contrast

On white

8.41
#505011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #505011
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505011#FFFFFF#000000##FFFFFF
##5050111.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C06
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#564A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #505011;
/* rgb */ color: rgb(80, 80, 17);
/* oklch */ color: oklch(41.8% 0.082 109.5);
Tailwind
colors: {
  custom: {
    50: '#848054',
    500: '#505011',
    950: '#000000',
  },
}
SCSS
$custom: #505011;
$custom-light: #848054;
$custom-dark: #000000;
JSON
{
  "hex": "#505011",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.08167,
    "h": 109.5
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#505011
secondary
#333389
accent
#40E840
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505011

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

Preview Lab → · Contrast checker → · Palette generator →

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