#54270D#54270D

#54270D is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.0% C 0.076 H 47.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#54270D
RGBrgb(84, 39, 13)
HSLhsl(22, 73%, 19%)
HSVhsv(22, 85%, 33%)
CMYKcmyk(0%, 53.6%, 84.5%, 67.1%)
CIE-LABlab(21.45, 18.84, 25.60)
CIE-LCHlch(21.45, 31.79, 53.65°)
OKLaboklab(32.99% 0.0515 0.0564)
OKLCHoklch(32.99% 0.076 47.6)
XYZxyz(4.4547, 3.3655, 0.7957)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54270D #0D3A54
analogous
#540D17 #54270D #544B0D
triadic
#54270D #0D5427 #270D54
tetradic
#54270D #17540D #0D3A54 #4B0D54
square
#54270D #17540D #0D3A54 #4B0D54
split-complementary
#54270D #0D544B #0D1754
monochromatic
#1A0C04 #1F0E05 #54270D #894015 #BE581D

Accessibility & contrast

On white

12.55
#54270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#54270D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54270D
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54270D#FFFFFF#000000##FFFFFF
##54270D1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0A
Deuteranopia (green-blind)
#3F370C
Tritanopia (blue-blind)
#5D1D22
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #54270d;
/* rgb */ color: rgb(84, 39, 13);
/* oklch */ color: oklch(33.0% 0.076 47.6);
Tailwind
colors: {
  custom: {
    50: '#89624d',
    500: '#54270d',
    950: '#000000',
  },
}
SCSS
$custom: #54270d;
$custom-light: #89624d;
$custom-dark: #000000;
JSON
{
  "hex": "#54270d",
  "rgb": {
    "r": 84,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 21.972,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32989,
    "c": 0.07642,
    "h": 47.6
  },
  "luminance": 0.03365
}

Semantic roles & 50–950 ramp

primary
#54270D
secondary
#2E6B8F
accent
#ADF038
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #54270D

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

Preview Lab → · Contrast checker → · Palette generator →

#54270D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva