#504E27#504E27

#504E27 is a dark, muted yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.058 H 106.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#504E27
RGBrgb(80, 78, 39)
HSLhsl(57, 34%, 23%)
HSVhsv(57, 51%, 31%)
CMYKcmyk(0%, 2.5%, 51.2%, 68.6%)
CIE-LABlab(32.48, -5.57, 23.24)
CIE-LCHlch(32.48, 23.90, 103.48°)
OKLaboklab(41.6% -0.016 0.0555)
OKLCHoklch(41.6% 0.058 106)
XYZxyz(6.3990, 7.3009, 2.9912)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E27 #272950
analogous
#503927 #504E27 #3D5027
triadic
#504E27 #27504E #4E2750
tetradic
#504E27 #275039 #272950 #50273D
square
#504E27 #275039 #272950 #50273D
split-complementary
#504E27 #273D50 #392750
monochromatic
#15140A #272613 #504E27 #79763B #A29E4F

Accessibility & contrast

On white

8.54
#504E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#504E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E27
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E27#FFFFFF#000000##FFFFFF
##504E271.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B24
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#554A45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504e27;
/* rgb */ color: rgb(80, 78, 39);
/* oklch */ color: oklch(41.6% 0.058 106.0);
Tailwind
colors: {
  custom: {
    50: '#827f62',
    500: '#504e27',
    950: '#000000',
  },
}
SCSS
$custom: #504e27;
$custom-light: #827f62;
$custom-dark: #000000;
JSON
{
  "hex": "#504e27",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 57.073,
    "s": 34.454,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.05777,
    "h": 106
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#504E27
secondary
#505283
accent
#63CB5D
background
#F8F7F5
surface
#EFEEEA
border
#CAC9C6
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #504E27

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

Preview Lab → · Contrast checker → · Palette generator →

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