#542F12#542F12

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

Color values

HEX#542F12
RGBrgb(84, 47, 18)
HSLhsl(26, 65%, 20%)
HSVhsv(26, 79%, 33%)
CMYKcmyk(0%, 44%, 78.6%, 67.1%)
CIE-LABlab(23.55, 14.13, 25.14)
CIE-LCHlch(23.55, 28.84, 60.66°)
OKLaboklab(34.61% 0.0383 0.0564)
OKLCHoklch(34.61% 0.068 55.8)
XYZxyz(4.7822, 3.9620, 1.0850)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542F12 #123754
analogous
#541216 #542F12 #545012
triadic
#542F12 #12542F #2F1254
tetradic
#542F12 #165412 #123754 #501254
square
#542F12 #165412 #123754 #501254
split-complementary
#542F12 #125450 #121654
monochromatic
#190E05 #221307 #542F12 #864B1D #B96728

Accessibility & contrast

On white

11.72
#542F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #542F12
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542F12#FFFFFF#000000##FFFFFF
##542F121.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330F
Deuteranopia (green-blind)
#433B12
Tritanopia (blue-blind)
#5C2729
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #542f12;
/* rgb */ color: rgb(84, 47, 18);
/* oklch */ color: oklch(34.6% 0.068 55.8);
Tailwind
colors: {
  custom: {
    50: '#886751',
    500: '#542f12',
    950: '#000000',
  },
}
SCSS
$custom: #542f12;
$custom-light: #886751;
$custom-dark: #000000;
JSON
{
  "hex": "#542f12",
  "rgb": {
    "r": 84,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 26.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.34614,
    "c": 0.06819,
    "h": 55.8
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#542F12
secondary
#35668D
accent
#9EE840
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #542F12

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

Preview Lab → · Contrast checker → · Palette generator →

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