#504227#504227

#504227 is a dark, muted orange. Relative luminance 0.057; OKLCH L 38.7% C 0.046 H 83.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#504227
RGBrgb(80, 66, 39)
HSLhsl(40, 34%, 23%)
HSVhsv(40, 51%, 31%)
CMYKcmyk(0%, 17.5%, 51.2%, 68.6%)
CIE-LABlab(28.77, 1.85, 18.63)
CIE-LCHlch(28.77, 18.73, 84.32°)
OKLaboklab(38.67% 0.0055 0.0452)
OKLCHoklch(38.67% 0.046 83)
XYZxyz(5.6229, 5.7487, 2.7325)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504227 #273550
analogous
#502D27 #504227 #495027
triadic
#504227 #275042 #422750
tetradic
#504227 #27502D #273550 #502749
square
#504227 #27502D #273550 #502749
split-complementary
#504227 #274950 #2D2750
monochromatic
#15110A #272013 #504227 #79643B #A2864F

Accessibility & contrast

On white

9.77
#504227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#504227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504227
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504227#FFFFFF#000000##FFFFFF
##5042271.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484225
Deuteranopia (green-blind)
#4C4528
Tritanopia (blue-blind)
#563E3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #504227;
/* rgb */ color: rgb(80, 66, 39);
/* oklch */ color: oklch(38.7% 0.046 83.0);
Tailwind
colors: {
  custom: {
    50: '#827661',
    500: '#504227',
    950: '#000000',
  },
}
SCSS
$custom: #504227;
$custom-light: #827661;
$custom-dark: #000000;
JSON
{
  "hex": "#504227",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 39.512,
    "s": 34.454,
    "l": 23.333
  },
  "oklch": {
    "l": 0.38665,
    "c": 0.04555,
    "h": 83
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#504227
secondary
#506183
accent
#83CB5D
background
#F8F7F5
surface
#EFEDEA
border
#CAC8C6
text
#0A0805
muted
#7C7B79

Preview Lab

Preview with #504227

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

Preview Lab → · Contrast checker → · Palette generator →

#504227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva