#5A220F#5A220F

#5A220F is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.2% C 0.088 H 38.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5A220F
RGBrgb(90, 34, 15)
HSLhsl(15, 71%, 21%)
HSVhsv(15, 83%, 35%)
CMYKcmyk(0%, 62.2%, 83.3%, 64.7%)
CIE-LABlab(21.41, 24.55, 24.86)
CIE-LCHlch(21.41, 34.93, 45.36°)
OKLaboklab(33.17% 0.0687 0.0548)
OKLCHoklch(33.17% 0.088 38.6)
XYZxyz(4.8752, 3.3529, 0.8423)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A220F #0F475A
analogous
#5A0F21 #5A220F #5A470F
triadic
#5A220F #0F5A22 #220F5A
tetradic
#5A220F #215A0F #0F475A #470F5A
square
#5A220F #215A0F #0F475A #470F5A
split-complementary
#5A220F #0F5A47 #0F215A
monochromatic
#1A0A04 #260E06 #5A220F #8E3618 #C34A20

Accessibility & contrast

On white

12.57
#5A220F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5A220F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A220F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A220F#FFFFFF#000000##FFFFFF
##5A220F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0D
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#64151E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a220f;
/* rgb */ color: rgb(90, 34, 15);
/* oklch */ color: oklch(33.2% 0.088 38.6);
Tailwind
colors: {
  custom: {
    50: '#8e5f4e',
    500: '#5a220f',
    950: '#000000',
  },
}
SCSS
$custom: #5a220f;
$custom-light: #8e5f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a220f",
  "rgb": {
    "r": 90,
    "g": 34,
    "b": 15
  },
  "hsl": {
    "h": 15.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33172,
    "c": 0.08787,
    "h": 38.6
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#5A220F
secondary
#317B94
accent
#C0EE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0501
muted
#7E7977

Preview Lab

Preview with #5A220F

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

Preview Lab → · Contrast checker → · Palette generator →

#5A220F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva