#504C10#504C10

#504C10 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.078 H 105.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#504C10
RGBrgb(80, 76, 16)
HSLhsl(56, 67%, 19%)
HSVhsv(56, 80%, 31%)
CMYKcmyk(0%, 5%, 80%, 68.6%)
CIE-LABlab(31.61, -6.26, 34.04)
CIE-LCHlch(31.61, 34.61, 100.42°)
OKLaboklab(40.83% -0.0208 0.0751)
OKLCHoklch(40.83% 0.078 105.5)
XYZxyz(5.9865, 6.9120, 1.5089)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C10 #101450
analogous
#502C10 #504C10 #345010
triadic
#504C10 #10504C #4C1050
tetradic
#504C10 #10502C #101450 #501034
square
#504C10 #10502C #101450 #501034
split-complementary
#504C10 #103450 #2C1050
monochromatic
#1A1805 #1D1C06 #504C10 #837C1A #B6AD24

Accessibility & contrast

On white

8.81
#504C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#504C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C10
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C10#FFFFFF#000000##FFFFFF
##504C101.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534905
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#574640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504c10;
/* rgb */ color: rgb(80, 76, 16);
/* oklch */ color: oklch(40.8% 0.078 105.5);
Tailwind
colors: {
  custom: {
    50: '#847d53',
    500: '#504c10',
    950: '#000000',
  },
}
SCSS
$custom: #504c10;
$custom-light: #847d53;
$custom-dark: #000000;
JSON
{
  "hex": "#504c10",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 56.25,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.07791,
    "h": 105.5
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#504C10
secondary
#32388A
accent
#49EA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504C10

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

Preview Lab → · Contrast checker → · Palette generator →

#504C10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva