#542E12#542E12

#542E12 is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.4% C 0.069 H 54.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#542E12
RGBrgb(84, 46, 18)
HSLhsl(25, 65%, 20%)
HSVhsv(25, 79%, 33%)
CMYKcmyk(0%, 45.2%, 78.6%, 67.1%)
CIE-LABlab(23.28, 14.76, 24.86)
CIE-LCHlch(23.28, 28.91, 59.30°)
OKLaboklab(34.41% 0.0402 0.0558)
OKLCHoklch(34.41% 0.069 54.3)
XYZxyz(4.7427, 3.8830, 1.0719)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E12 #123854
analogous
#541217 #542E12 #544F12
triadic
#542E12 #12542E #2E1254
tetradic
#542E12 #175412 #123854 #4F1254
square
#542E12 #175412 #123854 #4F1254
split-complementary
#542E12 #12544F #121754
monochromatic
#190E05 #221207 #542E12 #864A1D #B96528

Accessibility & contrast

On white

11.82
#542E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #542E12
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E12#FFFFFF#000000##FFFFFF
##542E121.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320F
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#5C2628
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #542e12;
/* rgb */ color: rgb(84, 46, 18);
/* oklch */ color: oklch(34.4% 0.069 54.3);
Tailwind
colors: {
  custom: {
    50: '#886751',
    500: '#542e12',
    950: '#000000',
  },
}
SCSS
$custom: #542e12;
$custom-light: #886751;
$custom-dark: #000000;
JSON
{
  "hex": "#542e12",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 25.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3441,
    "c": 0.06879,
    "h": 54.3
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#542E12
secondary
#35688D
accent
#A1E840
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #542E12

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

Preview Lab → · Contrast checker → · Palette generator →

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