#542D12#542D12

#542D12 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.2% C 0.069 H 52.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#542D12
RGBrgb(84, 45, 18)
HSLhsl(25, 65%, 20%)
HSVhsv(25, 79%, 33%)
CMYKcmyk(0%, 46.4%, 78.6%, 67.1%)
CIE-LABlab(23.02, 15.39, 24.58)
CIE-LCHlch(23.02, 29.00, 57.95°)
OKLaboklab(34.21% 0.0421 0.0552)
OKLCHoklch(34.21% 0.069 52.7)
XYZxyz(4.7041, 3.8058, 1.0590)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542D12 #123954
analogous
#541218 #542D12 #544E12
triadic
#542D12 #12542D #2D1254
tetradic
#542D12 #185412 #123954 #4E1254
square
#542D12 #185412 #123954 #4E1254
split-complementary
#542D12 #12544E #121854
monochromatic
#190D05 #221207 #542D12 #86481D #B96328

Accessibility & contrast

On white

11.93
#542D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#542D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542D12
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542D12#FFFFFF#000000##FFFFFF
##542D121.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38320F
Deuteranopia (green-blind)
#423A12
Tritanopia (blue-blind)
#5C2527
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #542d12;
/* rgb */ color: rgb(84, 45, 18);
/* oklch */ color: oklch(34.2% 0.069 52.7);
Tailwind
colors: {
  custom: {
    50: '#886651',
    500: '#542d12',
    950: '#000000',
  },
}
SCSS
$custom: #542d12;
$custom-light: #886651;
$custom-dark: #000000;
JSON
{
  "hex": "#542d12",
  "rgb": {
    "r": 84,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 24.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.34208,
    "c": 0.06943,
    "h": 52.7
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#542D12
secondary
#35698D
accent
#A3E840
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #542D12

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

Preview Lab → · Contrast checker → · Palette generator →

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