#542E1B#542E1B

#542E1B is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.5% C 0.064 H 46.5°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#542E1B
RGBrgb(84, 46, 27)
HSLhsl(20, 51%, 22%)
HSVhsv(20, 68%, 33%)
CMYKcmyk(0%, 45.2%, 67.9%, 67.1%)
CIE-LABlab(23.40, 15.39, 19.58)
CIE-LCHlch(23.40, 24.90, 51.83°)
OKLaboklab(34.54% 0.0438 0.0461)
OKLCHoklch(34.54% 0.064 46.5)
XYZxyz(4.8313, 3.9184, 1.5386)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E1B #1B4154
analogous
#541B25 #542E1B #544B1B
triadic
#542E1B #1B542E #2E1B54
tetradic
#542E1B #25541B #1B4154 #4B1B54
square
#542E1B #25541B #1B4154 #4B1B54
split-complementary
#542E1B #1B544B #1B2554
monochromatic
#170D07 #26150C #542E1B #82472A #B16139

Accessibility & contrast

On white

11.77
#542E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#542E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542E1B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E1B#FFFFFF#000000##FFFFFF
##542E1B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383319
Deuteranopia (green-blind)
#413B1B
Tritanopia (blue-blind)
#5C2729
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #542e1b;
/* rgb */ color: rgb(84, 46, 27);
/* oklch */ color: oklch(34.5% 0.064 46.5);
Tailwind
colors: {
  custom: {
    50: '#876758',
    500: '#542e1b',
    950: '#000000',
  },
}
SCSS
$custom: #542e1b;
$custom-light: #876758;
$custom-dark: #000000;
JSON
{
  "hex": "#542e1b",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 20,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3454,
    "c": 0.06353,
    "h": 46.5
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#542E1B
secondary
#41728A
accent
#ACDB4D
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0603
muted
#7D7A78

Preview Lab

Preview with #542E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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