#5A260F#5A260F

#5A260F is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.8% C 0.084 H 42.6°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#5A260F
RGBrgb(90, 38, 15)
HSLhsl(18, 71%, 21%)
HSVhsv(18, 83%, 35%)
CMYKcmyk(0%, 57.8%, 83.3%, 64.7%)
CIE-LABlab(22.28, 22.28, 25.80)
CIE-LCHlch(22.28, 34.09, 49.18°)
OKLaboklab(33.84% 0.0618 0.0567)
OKLCHoklch(33.84% 0.084 42.6)
XYZxyz(4.9963, 3.5950, 0.8827)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A260F #0F435A
analogous
#5A0F1D #5A260F #5A4B0F
triadic
#5A260F #0F5A26 #260F5A
tetradic
#5A260F #1D5A0F #0F435A #4B0F5A
square
#5A260F #1D5A0F #0F435A #4B0F5A
split-complementary
#5A260F #0F5A4B #0F1D5A
monochromatic
#1A0B04 #261006 #5A260F #8E3C18 #C35220

Accessibility & contrast

On white

12.22
#5A260F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5A260F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A260F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A260F#FFFFFF#000000##FFFFFF
##5A260F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0C
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#631B21
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5a260f;
/* rgb */ color: rgb(90, 38, 15);
/* oklch */ color: oklch(33.8% 0.084 42.6);
Tailwind
colors: {
  custom: {
    50: '#8e624f',
    500: '#5a260f',
    950: '#000000',
  },
}
SCSS
$custom: #5a260f;
$custom-light: #8e624f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a260f",
  "rgb": {
    "r": 90,
    "g": 38,
    "b": 15
  },
  "hsl": {
    "h": 18.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3384,
    "c": 0.08387,
    "h": 42.6
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#5A260F
secondary
#317594
accent
#B7EE3A
background
#F9F5F4
surface
#F1EAE7
border
#CBC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A260F

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

Preview Lab → · Contrast checker → · Palette generator →

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