#504A10#504A10

#504A10 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.3% C 0.076 H 103.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#504A10
RGBrgb(80, 74, 16)
HSLhsl(54, 67%, 19%)
HSVhsv(54, 80%, 31%)
CMYKcmyk(0%, 7.5%, 80%, 68.6%)
CIE-LABlab(30.97, -5.05, 33.44)
CIE-LCHlch(30.97, 33.82, 98.60°)
OKLaboklab(40.32% -0.0174 0.0738)
OKLCHoklch(40.32% 0.076 103.3)
XYZxyz(5.8508, 6.6407, 1.4637)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A10 #101650
analogous
#502A10 #504A10 #365010
triadic
#504A10 #10504A #4A1050
tetradic
#504A10 #10502A #101650 #501036
square
#504A10 #10502A #101650 #501036
split-complementary
#504A10 #103650 #2A1050
monochromatic
#1A1805 #1D1B06 #504A10 #83791A #B6A824

Accessibility & contrast

On white

9.02
#504A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#504A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A10
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A10#FFFFFF#000000##FFFFFF
##504A101.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514706
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#57443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504a10;
/* rgb */ color: rgb(80, 74, 16);
/* oklch */ color: oklch(40.3% 0.076 103.3);
Tailwind
colors: {
  custom: {
    50: '#847c53',
    500: '#504a10',
    950: '#000000',
  },
}
SCSS
$custom: #504a10;
$custom-light: #847c53;
$custom-dark: #000000;
JSON
{
  "hex": "#504a10",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 54.375,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.07583,
    "h": 103.3
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#504A10
secondary
#323A8A
accent
#4EEA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504A10

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

Preview Lab → · Contrast checker → · Palette generator →

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