#504A14#504A14

#504A14 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.073 H 102.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#504A14
RGBrgb(80, 74, 20)
HSLhsl(54, 60%, 20%)
HSVhsv(54, 75%, 31%)
CMYKcmyk(0%, 7.5%, 75%, 68.6%)
CIE-LABlab(31.01, -4.82, 31.69)
CIE-LCHlch(31.01, 32.06, 98.65°)
OKLaboklab(40.36% -0.0163 0.0709)
OKLCHoklch(40.36% 0.073 102.9)
XYZxyz(5.8836, 6.6538, 1.6361)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A14 #141A50
analogous
#502C14 #504A14 #385014
triadic
#504A14 #14504A #4A1450
tetradic
#504A14 #14502C #141A50 #501438
square
#504A14 #14502C #141A50 #501438
split-complementary
#504A14 #143850 #2C1450
monochromatic
#181706 #1F1D08 #504A14 #817720 #B2A52C

Accessibility & contrast

On white

9.01
#504A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504A14
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A14#FFFFFF#000000##FFFFFF
##504A141.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470C
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#57443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504a14;
/* rgb */ color: rgb(80, 74, 20);
/* oklch */ color: oklch(40.4% 0.073 102.9);
Tailwind
colors: {
  custom: {
    50: '#837c55',
    500: '#504a14',
    950: '#000000',
  },
}
SCSS
$custom: #504a14;
$custom-light: #837c55;
$custom-dark: #000000;
JSON
{
  "hex": "#504a14",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 54,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.07278,
    "h": 102.9
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#504A14
secondary
#384088
accent
#54E345
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504A14

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

Preview Lab → · Contrast checker → · Palette generator →

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