#542C12#542C12

#542C12 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 34.0% C 0.070 H 51.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#542C12
RGBrgb(84, 44, 18)
HSLhsl(24, 65%, 20%)
HSVhsv(24, 79%, 33%)
CMYKcmyk(0%, 47.6%, 78.6%, 67.1%)
CIE-LABlab(22.76, 16.02, 24.30)
CIE-LCHlch(22.76, 29.11, 56.61°)
OKLaboklab(34.01% 0.044 0.0546)
OKLCHoklch(34.01% 0.07 51.2)
XYZxyz(4.6664, 3.7304, 1.0464)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542C12 #123A54
analogous
#541219 #542C12 #544D12
triadic
#542C12 #12542C #2C1254
tetradic
#542C12 #195412 #123A54 #4D1254
square
#542C12 #195412 #123A54 #4D1254
split-complementary
#542C12 #12544D #121954
monochromatic
#190D05 #221207 #542C12 #86461D #B96128

Accessibility & contrast

On white

12.03
#542C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#542C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542C12
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542C12#FFFFFF#000000##FFFFFF
##542C121.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37310F
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#5D2426
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #542c12;
/* rgb */ color: rgb(84, 44, 18);
/* oklch */ color: oklch(34.0% 0.070 51.2);
Tailwind
colors: {
  custom: {
    50: '#886551',
    500: '#542c12',
    950: '#000000',
  },
}
SCSS
$custom: #542c12;
$custom-light: #886551;
$custom-dark: #000000;
JSON
{
  "hex": "#542c12",
  "rgb": {
    "r": 84,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 23.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.34009,
    "c": 0.07012,
    "h": 51.2
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#542C12
secondary
#356A8D
accent
#A6E840
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #542C12

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

Preview Lab → · Contrast checker → · Palette generator →

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