#504B10#504B10

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

Color values

HEX#504B10
RGBrgb(80, 75, 16)
HSLhsl(55, 67%, 19%)
HSVhsv(55, 80%, 31%)
CMYKcmyk(0%, 6.2%, 80%, 68.6%)
CIE-LABlab(31.29, -5.66, 33.74)
CIE-LCHlch(31.29, 34.21, 99.52°)
OKLaboklab(40.57% -0.0191 0.0744)
OKLCHoklch(40.57% 0.077 104.4)
XYZxyz(5.9181, 6.7753, 1.4861)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504B10 #101550
analogous
#502B10 #504B10 #355010
triadic
#504B10 #10504B #4B1050
tetradic
#504B10 #10502B #101550 #501035
square
#504B10 #10502B #101550 #501035
split-complementary
#504B10 #103550 #2B1050
monochromatic
#1A1805 #1D1B06 #504B10 #837B1A #B6AB24

Accessibility & contrast

On white

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

On black

2.36
#504B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##504B10#FFFFFF#000000##FFFFFF
##504B101.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524806
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#574540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504b10;
/* rgb */ color: rgb(80, 75, 16);
/* oklch */ color: oklch(40.6% 0.077 104.4);
Tailwind
colors: {
  custom: {
    50: '#847d53',
    500: '#504b10',
    950: '#000000',
  },
}
SCSS
$custom: #504b10;
$custom-light: #847d53;
$custom-dark: #000000;
JSON
{
  "hex": "#504b10",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 55.313,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.07686,
    "h": 104.4
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#504B10
secondary
#32398A
accent
#4CEA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504B10

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

Preview Lab → · Contrast checker → · Palette generator →

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