#542E1A#542E1A

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

Color values

HEX#542E1A
RGBrgb(84, 46, 26)
HSLhsl(21, 53%, 22%)
HSVhsv(21, 69%, 33%)
CMYKcmyk(0%, 45.2%, 69%, 67.1%)
CIE-LABlab(23.38, 15.31, 20.19)
CIE-LCHlch(23.38, 25.34, 52.83°)
OKLaboklab(34.52% 0.0433 0.0472)
OKLCHoklch(34.52% 0.064 47.5)
XYZxyz(4.8200, 3.9139, 1.4787)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E1A #1A4054
analogous
#541A23 #542E1A #544B1A
triadic
#542E1A #1A542E #2E1A54
tetradic
#542E1A #23541A #1A4054 #4B1A54
square
#542E1A #23541A #1A4054 #4B1A54
split-complementary
#542E1A #1A544B #1A2354
monochromatic
#170D07 #25140C #542E1A #834828 #B16137

Accessibility & contrast

On white

11.78
#542E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #542E1A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E1A#FFFFFF#000000##FFFFFF
##542E1A1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383318
Deuteranopia (green-blind)
#423B1A
Tritanopia (blue-blind)
#5C2729
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #542e1a;
/* rgb */ color: rgb(84, 46, 26);
/* oklch */ color: oklch(34.5% 0.064 47.5);
Tailwind
colors: {
  custom: {
    50: '#876757',
    500: '#542e1a',
    950: '#000000',
  },
}
SCSS
$custom: #542e1a;
$custom-light: #876757;
$custom-dark: #000000;
JSON
{
  "hex": "#542e1a",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 20.69,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34524,
    "c": 0.0641,
    "h": 47.5
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#542E1A
secondary
#40708A
accent
#AADC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0603
muted
#7D7A78

Preview Lab

Preview with #542E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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