#5A2A0F#5A2A0F

#5A2A0F is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.6% C 0.080 H 47.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#5A2A0F
RGBrgb(90, 42, 15)
HSLhsl(22, 71%, 21%)
HSVhsv(22, 83%, 35%)
CMYKcmyk(0%, 53.3%, 83.3%, 64.7%)
CIE-LABlab(23.22, 19.92, 26.76)
CIE-LCHlch(23.22, 33.37, 53.34°)
OKLaboklab(34.55% 0.0546 0.0588)
OKLCHoklch(34.55% 0.08 47.1)
XYZxyz(5.1311, 3.8647, 0.9276)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2A0F #0F3F5A
analogous
#5A0F19 #5A2A0F #5A4F0F
triadic
#5A2A0F #0F5A2A #2A0F5A
tetradic
#5A2A0F #195A0F #0F3F5A #4F0F5A
square
#5A2A0F #195A0F #0F3F5A #4F0F5A
split-complementary
#5A2A0F #0F5A4F #0F195A
monochromatic
#1A0C04 #261206 #5A2A0F #8E4218 #C35B20

Accessibility & contrast

On white

11.85
#5A2A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5A2A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2A0F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2A0F#FFFFFF#000000##FFFFFF
##5A2A0F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310C
Deuteranopia (green-blind)
#433B0E
Tritanopia (blue-blind)
#632024
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a2a0f;
/* rgb */ color: rgb(90, 42, 15);
/* oklch */ color: oklch(34.6% 0.080 47.1);
Tailwind
colors: {
  custom: {
    50: '#8e644f',
    500: '#5a2a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5a2a0f;
$custom-light: #8e644f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2a0f",
  "rgb": {
    "r": 90,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 21.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34553,
    "c": 0.08021,
    "h": 47.1
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#5A2A0F
secondary
#317094
accent
#ADEE3A
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0502
muted
#7E7A78

Preview Lab

Preview with #5A2A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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