#542A0F#542A0F

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

Color values

HEX#542A0F
RGBrgb(84, 42, 15)
HSLhsl(23, 70%, 19%)
HSVhsv(23, 82%, 33%)
CMYKcmyk(0%, 50%, 82.1%, 67.1%)
CIE-LABlab(22.22, 17.10, 25.41)
CIE-LCHlch(22.22, 30.63, 56.06°)
OKLaboklab(33.58% 0.0466 0.0563)
OKLCHoklch(33.58% 0.073 50.4)
XYZxyz(4.5708, 3.5758, 0.9013)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542A0F #0F3954
analogous
#540F17 #542A0F #544D0F
triadic
#542A0F #0F542A #2A0F54
tetradic
#542A0F #17540F #0F3954 #4D0F54
square
#542A0F #17540F #0F3954 #4D0F54
split-complementary
#542A0F #0F544D #0F1754
monochromatic
#1A0D05 #201006 #542A0F #884418 #BC5E22

Accessibility & contrast

On white

12.24
#542A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#542A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542A0F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542A0F#FFFFFF#000000##FFFFFF
##542A0F1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #542a0f;
/* rgb */ color: rgb(84, 42, 15);
/* oklch */ color: oklch(33.6% 0.073 50.4);
Tailwind
colors: {
  custom: {
    50: '#89644f',
    500: '#542a0f',
    950: '#000000',
  },
}
SCSS
$custom: #542a0f;
$custom-light: #89644f;
$custom-dark: #000000;
JSON
{
  "hex": "#542a0f",
  "rgb": {
    "r": 84,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 23.478,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33581,
    "c": 0.07312,
    "h": 50.4
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#542A0F
secondary
#316A8E
accent
#A7ED3B
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #542A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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