#542812#542812

#542812 is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.2% C 0.073 H 45.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#542812
RGBrgb(84, 40, 18)
HSLhsl(20, 65%, 20%)
HSVhsv(20, 79%, 33%)
CMYKcmyk(0%, 52.4%, 78.6%, 67.1%)
CIE-LABlab(21.75, 18.49, 23.22)
CIE-LCHlch(21.75, 29.68, 51.46°)
OKLaboklab(33.24% 0.0514 0.0523)
OKLCHoklch(33.24% 0.073 45.5)
XYZxyz(4.5245, 3.4466, 0.9991)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542812 #123E54
analogous
#54121D #542812 #544912
triadic
#542812 #125428 #281254
tetradic
#542812 #1D5412 #123E54 #491254
square
#542812 #1D5412 #123E54 #491254
split-complementary
#542812 #125449 #121D54
monochromatic
#190C05 #221007 #542812 #86401D #B95828

Accessibility & contrast

On white

12.43
#542812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#542812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542812
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542812#FFFFFF#000000##FFFFFF
##5428121.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E10
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#5D1F23
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #542812;
/* rgb */ color: rgb(84, 40, 18);
/* oklch */ color: oklch(33.2% 0.073 45.5);
Tailwind
colors: {
  custom: {
    50: '#896351',
    500: '#542812',
    950: '#000000',
  },
}
SCSS
$custom: #542812;
$custom-light: #896351;
$custom-dark: #000000;
JSON
{
  "hex": "#542812",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 20,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.33235,
    "c": 0.07336,
    "h": 45.5
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#542812
secondary
#35708D
accent
#B0E840
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #542812

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

Preview Lab → · Contrast checker → · Palette generator →

#542812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva