#5A280F#5A280F

#5A280F is a dark, moderate orange. Relative luminance 0.037; OKLCH L 34.2% C 0.082 H 44.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#5A280F
RGBrgb(90, 40, 15)
HSLhsl(20, 71%, 21%)
HSVhsv(20, 83%, 35%)
CMYKcmyk(0%, 55.6%, 83.3%, 64.7%)
CIE-LABlab(22.75, 21.11, 26.28)
CIE-LCHlch(22.75, 33.71, 51.22°)
OKLaboklab(34.19% 0.0582 0.0577)
OKLCHoklch(34.19% 0.082 44.8)
XYZxyz(5.0620, 3.7264, 0.9045)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A280F #0F415A
analogous
#5A0F1B #5A280F #5A4D0F
triadic
#5A280F #0F5A28 #280F5A
tetradic
#5A280F #1B5A0F #0F415A #4D0F5A
square
#5A280F #1B5A0F #0F415A #4D0F5A
split-complementary
#5A280F #0F5A4D #0F1B5A
monochromatic
#1A0C04 #261106 #5A280F #8E3F18 #C35720

Accessibility & contrast

On white

12.03
#5A280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5A280F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A280F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A280F#FFFFFF#000000##FFFFFF
##5A280F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0C
Deuteranopia (green-blind)
#423B0E
Tritanopia (blue-blind)
#631D23
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a280f;
/* rgb */ color: rgb(90, 40, 15);
/* oklch */ color: oklch(34.2% 0.082 44.8);
Tailwind
colors: {
  custom: {
    50: '#8e634f',
    500: '#5a280f',
    950: '#000000',
  },
}
SCSS
$custom: #5a280f;
$custom-light: #8e634f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a280f",
  "rgb": {
    "r": 90,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 20,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34192,
    "c": 0.08198,
    "h": 44.8
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#5A280F
secondary
#317394
accent
#B2EE3A
background
#F9F5F4
surface
#F1EAE7
border
#CBC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A280F

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

Preview Lab → · Contrast checker → · Palette generator →

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