#542A0D#542A0D

#542A0D is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.6% C 0.074 H 51.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#542A0D
RGBrgb(84, 42, 13)
HSLhsl(25, 73%, 19%)
HSVhsv(25, 85%, 33%)
CMYKcmyk(0%, 50%, 84.5%, 67.1%)
CIE-LABlab(22.20, 17.00, 26.40)
CIE-LCHlch(22.20, 31.40, 57.22°)
OKLaboklab(33.56% 0.046 0.058)
OKLCHoklch(33.56% 0.074 51.6)
XYZxyz(4.5572, 3.5703, 0.8298)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542A0D #0D3754
analogous
#540D14 #542A0D #544E0D
triadic
#542A0D #0D542A #2A0D54
tetradic
#542A0D #14540D #0D3754 #4E0D54
square
#542A0D #14540D #0D3754 #4E0D54
split-complementary
#542A0D #0D544E #0D1454
monochromatic
#1A0D04 #1F1005 #542A0D #894415 #BE5F1D

Accessibility & contrast

On white

12.25
#542A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#542A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542A0D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542A0D#FFFFFF#000000##FFFFFF
##542A0D1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F09
Deuteranopia (green-blind)
#40390C
Tritanopia (blue-blind)
#5D2124
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #542a0d;
/* rgb */ color: rgb(84, 42, 13);
/* oklch */ color: oklch(33.6% 0.074 51.6);
Tailwind
colors: {
  custom: {
    50: '#89644e',
    500: '#542a0d',
    950: '#000000',
  },
}
SCSS
$custom: #542a0d;
$custom-light: #89644e;
$custom-dark: #000000;
JSON
{
  "hex": "#542a0d",
  "rgb": {
    "r": 84,
    "g": 42,
    "b": 13
  },
  "hsl": {
    "h": 24.507,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3356,
    "c": 0.07404,
    "h": 51.6
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#542A0D
secondary
#2E678F
accent
#A5F038
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0501
muted
#7D7A77

Preview Lab

Preview with #542A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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