#542E18#542E18

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

Color values

HEX#542E18
RGBrgb(84, 46, 24)
HSLhsl(22, 56%, 21%)
HSVhsv(22, 71%, 33%)
CMYKcmyk(0%, 45.2%, 71.4%, 67.1%)
CIE-LABlab(23.36, 15.16, 21.39)
CIE-LCHlch(23.36, 26.22, 54.68°)
OKLaboklab(34.49% 0.0425 0.0496)
OKLCHoklch(34.49% 0.065 49.4)
XYZxyz(4.7984, 3.9052, 1.3651)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E18 #183E54
analogous
#541820 #542E18 #544C18
triadic
#542E18 #18542E #2E1854
tetradic
#542E18 #205418 #183E54 #4C1854
square
#542E18 #205418 #183E54 #4C1854
split-complementary
#542E18 #18544C #182054
monochromatic
#180D07 #24140A #542E18 #844826 #B36233

Accessibility & contrast

On white

11.79
#542E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #542E18
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E18#FFFFFF#000000##FFFFFF
##542E181.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #542e18;
/* rgb */ color: rgb(84, 46, 24);
/* oklch */ color: oklch(34.5% 0.065 49.4);
Tailwind
colors: {
  custom: {
    50: '#886755',
    500: '#542e18',
    950: '#000000',
  },
}
SCSS
$custom: #542e18;
$custom-light: #886755;
$custom-dark: #000000;
JSON
{
  "hex": "#542e18",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 24
  },
  "hsl": {
    "h": 22,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34492,
    "c": 0.06528,
    "h": 49.4
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#542E18
secondary
#3D6E8B
accent
#A8DF49
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0603
muted
#7D7A78

Preview Lab

Preview with #542E18

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

Preview Lab → · Contrast checker → · Palette generator →

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