#504B0F#504B0F

#504B0F is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.6% C 0.078 H 104.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#504B0F
RGBrgb(80, 75, 15)
HSLhsl(55, 68%, 19%)
HSVhsv(55, 81%, 31%)
CMYKcmyk(0%, 6.2%, 81.3%, 68.6%)
CIE-LABlab(31.28, -5.71, 34.14)
CIE-LCHlch(31.28, 34.62, 99.50°)
OKLaboklab(40.57% -0.0194 0.0751)
OKLCHoklch(40.57% 0.078 104.5)
XYZxyz(5.9108, 6.7724, 1.4477)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504B0F #0F1450
analogous
#502A0F #504B0F #34500F
triadic
#504B0F #0F504B #4B0F50
tetradic
#504B0F #0F502A #0F1450 #500F34
square
#504B0F #0F502A #0F1450 #500F34
split-complementary
#504B0F #0F3450 #2A0F50
monochromatic
#1A1805 #1C1B05 #504B0F #847B19 #B7AC22

Accessibility & contrast

On white

8.92
#504B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#504B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504B0F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504B0F#FFFFFF#000000##FFFFFF
##504B0F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#57453F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504b0f;
/* rgb */ color: rgb(80, 75, 15);
/* oklch */ color: oklch(40.6% 0.078 104.5);
Tailwind
colors: {
  custom: {
    50: '#847d53',
    500: '#504b0f',
    950: '#000000',
  },
}
SCSS
$custom: #504b0f;
$custom-light: #847d53;
$custom-dark: #000000;
JSON
{
  "hex": "#504b0f",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 55.385,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40566,
    "c": 0.07754,
    "h": 104.5
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#504B0F
secondary
#31388A
accent
#4AEB3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #504B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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