#504F14#504F14

#504F14 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.078 H 108.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#504F14
RGBrgb(80, 79, 20)
HSLhsl(59, 60%, 20%)
HSVhsv(59, 75%, 31%)
CMYKcmyk(0%, 1.2%, 75%, 68.6%)
CIE-LABlab(32.59, -7.82, 33.28)
CIE-LCHlch(32.59, 34.19, 103.22°)
OKLaboklab(41.62% -0.0247 0.0743)
OKLCHoklch(41.62% 0.078 108.4)
XYZxyz(6.2307, 7.3481, 1.7518)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F14 #141550
analogous
#503114 #504F14 #335014
triadic
#504F14 #14504F #4F1450
tetradic
#504F14 #145031 #141550 #501433
square
#504F14 #145031 #141550 #501433
split-complementary
#504F14 #143350 #311450
monochromatic
#181806 #1F1F08 #504F14 #817F20 #B2B02C

Accessibility & contrast

On white

8.50
#504F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#504F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504F14
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504F14#FFFFFF#000000##FFFFFF
##504F141.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0B
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#564943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504f14;
/* rgb */ color: rgb(80, 79, 20);
/* oklch */ color: oklch(41.6% 0.078 108.4);
Tailwind
colors: {
  custom: {
    50: '#838056',
    500: '#504f14',
    950: '#000000',
  },
}
SCSS
$custom: #504f14;
$custom-light: #838056;
$custom-dark: #000000;
JSON
{
  "hex": "#504f14",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 59,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.07831,
    "h": 108.4
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#504F14
secondary
#383988
accent
#47E345
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504F14

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

Preview Lab → · Contrast checker → · Palette generator →

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