#542E17#542E17

#542E17 is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.5% C 0.066 H 50.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#542E17
RGBrgb(84, 46, 23)
HSLhsl(23, 57%, 21%)
HSVhsv(23, 73%, 33%)
CMYKcmyk(0%, 45.2%, 72.6%, 67.1%)
CIE-LABlab(23.34, 15.09, 21.99)
CIE-LCHlch(23.34, 26.67, 55.55°)
OKLaboklab(34.48% 0.0421 0.0507)
OKLCHoklch(34.48% 0.066 50.3)
XYZxyz(4.7882, 3.9012, 1.3113)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E17 #173D54
analogous
#54171E #542E17 #544C17
triadic
#542E17 #17542E #2E1754
tetradic
#542E17 #1E5417 #173D54 #4C1754
square
#542E17 #1E5417 #173D54 #4C1754
split-complementary
#542E17 #17544C #171E54
monochromatic
#180D07 #24140A #542E17 #844824 #B46331

Accessibility & contrast

On white

11.80
#542E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#542E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542E17
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E17#FFFFFF#000000##FFFFFF
##542E171.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393215
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#5C2629
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #542e17;
/* rgb */ color: rgb(84, 46, 23);
/* oklch */ color: oklch(34.5% 0.066 50.3);
Tailwind
colors: {
  custom: {
    50: '#886755',
    500: '#542e17',
    950: '#000000',
  },
}
SCSS
$custom: #542e17;
$custom-light: #886755;
$custom-dark: #000000;
JSON
{
  "hex": "#542e17",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 22.623,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34477,
    "c": 0.06588,
    "h": 50.3
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#542E17
secondary
#3C6D8B
accent
#A7E048
background
#F8F6F4
surface
#F0EBE8
border
#CBC6C4
text
#0C0603
muted
#7D7A78

Preview Lab

Preview with #542E17

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

Preview Lab → · Contrast checker → · Palette generator →

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