#54270F#54270F

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

Color values

HEX#54270F
RGBrgb(84, 39, 15)
HSLhsl(21, 70%, 19%)
HSVhsv(21, 82%, 33%)
CMYKcmyk(0%, 53.6%, 82.1%, 67.1%)
CIE-LABlab(21.47, 18.94, 24.62)
CIE-LCHlch(21.47, 31.06, 52.43°)
OKLaboklab(33.01% 0.0522 0.0547)
OKLCHoklch(33.01% 0.076 46.3)
XYZxyz(4.4683, 3.3709, 0.8672)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54270F #0F3C54
analogous
#540F19 #54270F #544A0F
triadic
#54270F #0F5427 #270F54
tetradic
#54270F #19540F #0F3C54 #4A0F54
square
#54270F #19540F #0F3C54 #4A0F54
split-complementary
#54270F #0F544A #0F1954
monochromatic
#1A0C05 #200F06 #54270F #883F18 #BC5722

Accessibility & contrast

On white

12.54
#54270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54270F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54270F#FFFFFF#000000##FFFFFF
##54270F1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0C
Deuteranopia (green-blind)
#3F370E
Tritanopia (blue-blind)
#5D1E22
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #54270f;
/* rgb */ color: rgb(84, 39, 15);
/* oklch */ color: oklch(33.0% 0.076 46.3);
Tailwind
colors: {
  custom: {
    50: '#89624f',
    500: '#54270f',
    950: '#000000',
  },
}
SCSS
$custom: #54270f;
$custom-light: #89624f;
$custom-dark: #000000;
JSON
{
  "hex": "#54270f",
  "rgb": {
    "r": 84,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 20.87,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33011,
    "c": 0.07558,
    "h": 46.3
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#54270F
secondary
#316E8E
accent
#AFED3B
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #54270F

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

Preview Lab → · Contrast checker → · Palette generator →

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