#504B2E#504B2E

#504B2E is a dark, muted yellow. Relative luminance 0.069; OKLCH L 41.0% C 0.045 H 99.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#504B2E
RGBrgb(80, 75, 46)
HSLhsl(51, 27%, 25%)
HSVhsv(51, 43%, 31%)
CMYKcmyk(0%, 6.2%, 42.5%, 68.6%)
CIE-LABlab(31.66, -2.89, 18.04)
CIE-LCHlch(31.66, 18.27, 99.09°)
OKLaboklab(40.99% -0.0075 0.0443)
OKLCHoklch(40.99% 0.045 99.7)
XYZxyz(6.3176, 6.9351, 3.5900)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504B2E #2E3350
analogous
#503A2E #504B2E #44502E
triadic
#504B2E #2E504B #4B2E50
tetradic
#504B2E #2E503A #2E3350 #502E44
square
#504B2E #2E503A #2E3350 #502E44
split-complementary
#504B2E #2E4450 #3A2E50
monochromatic
#13120B #292718 #504B2E #776F44 #9E945B

Accessibility & contrast

On white

8.80
#504B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#504B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504B2E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504B2E#FFFFFF#000000##FFFFFF
##504B2E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#524B2F
Tritanopia (blue-blind)
#554744
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504b2e;
/* rgb */ color: rgb(80, 75, 46);
/* oklch */ color: oklch(41.0% 0.045 99.7);
Tailwind
colors: {
  custom: {
    50: '#827d67',
    500: '#504b2e',
    950: '#000000',
  },
}
SCSS
$custom: #504b2e;
$custom-light: #827d67;
$custom-dark: #000000;
JSON
{
  "hex": "#504b2e",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 46
  },
  "hsl": {
    "h": 51.176,
    "s": 26.984,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40985,
    "c": 0.04491,
    "h": 99.7
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#504B2E
secondary
#585E81
accent
#72C364
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #504B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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