#504D10#504D10

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

Color values

HEX#504D10
RGBrgb(80, 77, 16)
HSLhsl(57, 67%, 19%)
HSVhsv(57, 80%, 31%)
CMYKcmyk(0%, 3.7%, 80%, 68.6%)
CIE-LABlab(31.92, -6.86, 34.34)
CIE-LCHlch(31.92, 35.02, 101.30°)
OKLaboklab(41.08% -0.0225 0.0757)
OKLCHoklch(41.08% 0.079 106.5)
XYZxyz(6.0559, 7.0509, 1.5321)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504D10 #101350
analogous
#502D10 #504D10 #335010
triadic
#504D10 #10504D #4D1050
tetradic
#504D10 #10502D #101350 #501033
square
#504D10 #10502D #101350 #501033
split-complementary
#504D10 #103350 #2D1050
monochromatic
#1A1905 #1D1C06 #504D10 #837E1A #B6AF24

Accessibility & contrast

On white

8.71
#504D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504D10
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504D10#FFFFFF#000000##FFFFFF
##504D101.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A05
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#564741
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504d10;
/* rgb */ color: rgb(80, 77, 16);
/* oklch */ color: oklch(41.1% 0.079 106.5);
Tailwind
colors: {
  custom: {
    50: '#847e53',
    500: '#504d10',
    950: '#000000',
  },
}
SCSS
$custom: #504d10;
$custom-light: #847e53;
$custom-dark: #000000;
JSON
{
  "hex": "#504d10",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 57.188,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41077,
    "c": 0.07899,
    "h": 106.5
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#504D10
secondary
#32368A
accent
#46EA3E
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504D10

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

Preview Lab → · Contrast checker → · Palette generator →

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