#504010#504010

#504010 is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.9% C 0.067 H 89.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#504010
RGBrgb(80, 64, 16)
HSLhsl(45, 67%, 19%)
HSVhsv(45, 80%, 31%)
CMYKcmyk(0%, 20%, 80%, 68.6%)
CIE-LABlab(27.87, 1.14, 30.42)
CIE-LCHlch(27.87, 30.44, 87.86°)
OKLaboklab(37.87% 0.0002 0.0674)
OKLCHoklch(37.87% 0.067 89.8)
XYZxyz(5.2355, 5.4100, 1.2586)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504010 #102050
analogous
#502010 #504010 #405010
triadic
#504010 #105040 #401050
tetradic
#504010 #105020 #102050 #501040
square
#504010 #105020 #102050 #501040
split-complementary
#504010 #104050 #201050
monochromatic
#1A1405 #1D1706 #504010 #83691A #B69224

Accessibility & contrast

On white

10.09
#504010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#504010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504010
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504010#FFFFFF#000000##FFFFFF
##5040101.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F09
Deuteranopia (green-blind)
#4C4412
Tritanopia (blue-blind)
#573A36
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #504010;
/* rgb */ color: rgb(80, 64, 16);
/* oklch */ color: oklch(37.9% 0.067 89.8);
Tailwind
colors: {
  custom: {
    50: '#847452',
    500: '#504010',
    950: '#000000',
  },
}
SCSS
$custom: #504010;
$custom-light: #847452;
$custom-dark: #000000;
JSON
{
  "hex": "#504010",
  "rgb": {
    "r": 80,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37866,
    "c": 0.06741,
    "h": 89.8
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#504010
secondary
#32488A
accent
#69EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #504010

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

Preview Lab → · Contrast checker → · Palette generator →

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