#504C0F#504C0F

#504C0F is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.079 H 105.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#504C0F
RGBrgb(80, 76, 15)
HSLhsl(56, 68%, 19%)
HSVhsv(56, 81%, 31%)
CMYKcmyk(0%, 5%, 81.3%, 68.6%)
CIE-LABlab(31.60, -6.31, 34.44)
CIE-LCHlch(31.60, 35.01, 100.39°)
OKLaboklab(40.82% -0.0211 0.0757)
OKLCHoklch(40.82% 0.079 105.5)
XYZxyz(5.9792, 6.9091, 1.4705)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C0F #0F1350
analogous
#502B0F #504C0F #33500F
triadic
#504C0F #0F504C #4C0F50
tetradic
#504C0F #0F502B #0F1350 #500F33
square
#504C0F #0F502B #0F1350 #500F33
split-complementary
#504C0F #0F3350 #2B0F50
monochromatic
#1A1805 #1C1B05 #504C0F #847D19 #B7AE22

Accessibility & contrast

On white

8.82
#504C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#504C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C0F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C0F#FFFFFF#000000##FFFFFF
##504C0F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534904
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#574640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504c0f;
/* rgb */ color: rgb(80, 76, 15);
/* oklch */ color: oklch(40.8% 0.079 105.5);
Tailwind
colors: {
  custom: {
    50: '#847d53',
    500: '#504c0f',
    950: '#000000',
  },
}
SCSS
$custom: #504c0f;
$custom-light: #847d53;
$custom-dark: #000000;
JSON
{
  "hex": "#504c0f",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 56.308,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.07858,
    "h": 105.5
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#504C0F
secondary
#31368A
accent
#47EB3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #504C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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