#542F0F#542F0F

#542F0F is a dark, moderate orange. Relative luminance 0.040; OKLCH L 34.6% C 0.070 H 57.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#542F0F
RGBrgb(84, 47, 15)
HSLhsl(28, 70%, 19%)
HSVhsv(28, 82%, 33%)
CMYKcmyk(0%, 44%, 82.1%, 67.1%)
CIE-LABlab(23.51, 13.97, 26.75)
CIE-LCHlch(23.51, 30.18, 62.43°)
OKLaboklab(34.58% 0.0373 0.0591)
OKLCHoklch(34.58% 0.07 57.8)
XYZxyz(4.7593, 3.9528, 0.9642)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542F0F #0F3454
analogous
#540F12 #542F0F #54520F
triadic
#542F0F #0F542F #2F0F54
tetradic
#542F0F #12540F #0F3454 #520F54
square
#542F0F #12540F #0F3454 #520F54
split-complementary
#542F0F #0F5452 #0F1254
monochromatic
#1A0F05 #201206 #542F0F #884C18 #BC6922

Accessibility & contrast

On white

11.73
#542F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#542F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542F0F
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542F0F#FFFFFF#000000##FFFFFF
##542F0F1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330B
Deuteranopia (green-blind)
#433B0F
Tritanopia (blue-blind)
#5D2728
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #542f0f;
/* rgb */ color: rgb(84, 47, 15);
/* oklch */ color: oklch(34.6% 0.070 57.8);
Tailwind
colors: {
  custom: {
    50: '#88674f',
    500: '#542f0f',
    950: '#000000',
  },
}
SCSS
$custom: #542f0f;
$custom-light: #88674f;
$custom-dark: #000000;
JSON
{
  "hex": "#542f0f",
  "rgb": {
    "r": 84,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 27.826,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.34581,
    "c": 0.06989,
    "h": 57.8
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#542F0F
secondary
#31638E
accent
#9AED3B
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #542F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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