#504F2D#504F2D

#504F2D is a dark, muted yellow. Relative luminance 0.075; OKLCH L 42.0% C 0.051 H 107.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#504F2D
RGBrgb(80, 79, 45)
HSLhsl(58, 28%, 25%)
HSVhsv(58, 44%, 31%)
CMYKcmyk(0%, 1.2%, 43.7%, 68.6%)
CIE-LABlab(32.89, -5.45, 20.22)
CIE-LCHlch(32.89, 20.94, 105.09°)
OKLaboklab(41.96% -0.015 0.0492)
OKLCHoklch(41.96% 0.051 107)
XYZxyz(6.5780, 7.4870, 3.5807)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F2D #2D2E50
analogous
#503E2D #504F2D #40502D
triadic
#504F2D #2D504F #4F2D50
tetradic
#504F2D #2D503E #2D2E50 #502D40
square
#504F2D #2D503E #2D2E50 #502D40
split-complementary
#504F2D #2D4050 #3E2D50
monochromatic
#14130B #292817 #504F2D #777643 #9E9C59

Accessibility & contrast

On white

8.41
#504F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#504F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504F2D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504F2D#FFFFFF#000000##FFFFFF
##504F2D1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2A
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#554B47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504f2d;
/* rgb */ color: rgb(80, 79, 45);
/* oklch */ color: oklch(42.0% 0.051 107.0);
Tailwind
colors: {
  custom: {
    50: '#828066',
    500: '#504f2d',
    950: '#000000',
  },
}
SCSS
$custom: #504f2d;
$custom-light: #828066;
$custom-dark: #000000;
JSON
{
  "hex": "#504f2d",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 58.286,
    "s": 28,
    "l": 24.51
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.05144,
    "h": 107
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#504F2D
secondary
#575882
accent
#66C463
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #504F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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