#504A28#504A28

#504A28 is a dark, muted yellow. Relative luminance 0.068; OKLCH L 40.6% C 0.052 H 99.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#504A28
RGBrgb(80, 74, 40)
HSLhsl(51, 33%, 24%)
HSVhsv(51, 50%, 31%)
CMYKcmyk(0%, 7.5%, 50%, 68.6%)
CIE-LABlab(31.25, -3.02, 21.13)
CIE-LCHlch(31.25, 21.35, 98.13°)
OKLaboklab(40.63% -0.0085 0.0509)
OKLCHoklch(40.63% 0.052 99.5)
XYZxyz(6.1402, 6.7564, 2.9878)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A28 #282E50
analogous
#503628 #504A28 #425028
triadic
#504A28 #28504A #4A2850
tetradic
#504A28 #285036 #282E50 #502842
square
#504A28 #285036 #282E50 #502842
split-complementary
#504A28 #284250 #362850
monochromatic
#14130A #272414 #504A28 #79703C #A29551

Accessibility & contrast

On white

8.93
#504A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504A28
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A28#FFFFFF#000000##FFFFFF
##504A281.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504825
Deuteranopia (green-blind)
#524B29
Tritanopia (blue-blind)
#554642
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504a28;
/* rgb */ color: rgb(80, 74, 40);
/* oklch */ color: oklch(40.6% 0.052 99.5);
Tailwind
colors: {
  custom: {
    50: '#827c62',
    500: '#504a28',
    950: '#000000',
  },
}
SCSS
$custom: #504a28;
$custom-light: #827c62;
$custom-dark: #000000;
JSON
{
  "hex": "#504a28",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 40
  },
  "hsl": {
    "h": 51,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.40625,
    "c": 0.05162,
    "h": 99.5
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#504A28
secondary
#515983
accent
#6EC95E
background
#F8F7F5
surface
#EFEEEA
border
#CAC9C6
text
#0A0905
muted
#7C7B79

Preview Lab

Preview with #504A28

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

Preview Lab → · Contrast checker → · Palette generator →

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