#504E14#504E14

#504E14 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.077 H 107.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#504E14
RGBrgb(80, 78, 20)
HSLhsl(58, 60%, 20%)
HSVhsv(58, 75%, 31%)
CMYKcmyk(0%, 2.5%, 75%, 68.6%)
CIE-LABlab(32.27, -7.23, 32.96)
CIE-LCHlch(32.27, 33.75, 102.36°)
OKLaboklab(41.36% -0.0231 0.0736)
OKLCHoklch(41.36% 0.077 107.4)
XYZxyz(6.1591, 7.2050, 1.7279)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E14 #141650
analogous
#503014 #504E14 #345014
triadic
#504E14 #14504E #4E1450
tetradic
#504E14 #145030 #141650 #501434
square
#504E14 #145030 #141650 #501434
split-complementary
#504E14 #143450 #301450
monochromatic
#181806 #1F1E08 #504E14 #817E20 #B2AD2C

Accessibility & contrast

On white

8.60
#504E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#504E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E14
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E14#FFFFFF#000000##FFFFFF
##504E141.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0B
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#564842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504e14;
/* rgb */ color: rgb(80, 78, 20);
/* oklch */ color: oklch(41.4% 0.077 107.4);
Tailwind
colors: {
  custom: {
    50: '#837f56',
    500: '#504e14',
    950: '#000000',
  },
}
SCSS
$custom: #504e14;
$custom-light: #837f56;
$custom-dark: #000000;
JSON
{
  "hex": "#504e14",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 58,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41363,
    "c": 0.07716,
    "h": 107.4
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#504E14
secondary
#383A88
accent
#4AE345
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504E14

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

Preview Lab → · Contrast checker → · Palette generator →

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