#504D14#504D14

#504D14 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.1% C 0.076 H 106.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#504D14
RGBrgb(80, 77, 20)
HSLhsl(57, 60%, 20%)
HSVhsv(57, 75%, 31%)
CMYKcmyk(0%, 3.7%, 75%, 68.6%)
CIE-LABlab(31.95, -6.63, 32.65)
CIE-LCHlch(31.95, 33.31, 101.48°)
OKLaboklab(41.11% -0.0214 0.073)
OKLCHoklch(41.11% 0.076 106.3)
XYZxyz(6.0886, 7.0639, 1.7044)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504D14 #141750
analogous
#502F14 #504D14 #355014
triadic
#504D14 #14504D #4D1450
tetradic
#504D14 #14502F #141750 #501435
square
#504D14 #14502F #141750 #501435
split-complementary
#504D14 #143550 #2F1450
monochromatic
#181806 #1F1E08 #504D14 #817C20 #B2AB2C

Accessibility & contrast

On white

8.70
#504D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#504D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504D14
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504D14#FFFFFF#000000##FFFFFF
##504D141.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0B
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#564742
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504d14;
/* rgb */ color: rgb(80, 77, 20);
/* oklch */ color: oklch(41.1% 0.076 106.3);
Tailwind
colors: {
  custom: {
    50: '#837e56',
    500: '#504d14',
    950: '#000000',
  },
}
SCSS
$custom: #504d14;
$custom-light: #837e56;
$custom-dark: #000000;
JSON
{
  "hex": "#504d14",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 57,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4111,
    "c": 0.07603,
    "h": 106.3
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#504D14
secondary
#383C88
accent
#4DE345
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504D14

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

Preview Lab → · Contrast checker → · Palette generator →

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