#542E1F#542E1F

#542E1F is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.6% C 0.061 H 42.0°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#542E1F
RGBrgb(84, 46, 31)
HSLhsl(17, 46%, 23%)
HSVhsv(17, 63%, 33%)
CMYKcmyk(0%, 45.2%, 63.1%, 67.1%)
CIE-LABlab(23.47, 15.73, 17.10)
CIE-LCHlch(23.47, 23.24, 47.39°)
OKLaboklab(34.61% 0.0455 0.041)
OKLCHoklch(34.61% 0.061 42)
XYZxyz(4.8808, 3.9382, 1.7992)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E1F #1F4554
analogous
#541F2B #542E1F #54481F
triadic
#542E1F #1F542E #2E1F54
tetradic
#542E1F #2B541F #1F4554 #481F54
square
#542E1F #2B541F #1F4554 #481F54
split-complementary
#542E1F #1F5448 #1F2B54
monochromatic
#160C08 #27160F #542E1F #81462F #AD5F40

Accessibility & contrast

On white

11.75
#542E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#542E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542E1F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E1F#FFFFFF#000000##FFFFFF
##542E1F1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#413B1F
Tritanopia (blue-blind)
#5C272A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #542e1f;
/* rgb */ color: rgb(84, 46, 31);
/* oklch */ color: oklch(34.6% 0.061 42.0);
Tailwind
colors: {
  custom: {
    50: '#87675b',
    500: '#542e1f',
    950: '#000000',
  },
}
SCSS
$custom: #542e1f;
$custom-light: #87675b;
$custom-dark: #000000;
JSON
{
  "hex": "#542e1f",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 16.981,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34613,
    "c": 0.06128,
    "h": 42
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#542E1F
secondary
#467689
accent
#B0D652
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0604
muted
#7D7A79

Preview Lab

Preview with #542E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#542E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva