#5B260F#5B260F

#5B260F is a dark, moderate orange. Relative luminance 0.036; OKLCH L 34.0% C 0.085 H 42.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#5B260F
RGBrgb(91, 38, 15)
HSLhsl(18, 72%, 21%)
HSVhsv(18, 84%, 36%)
CMYKcmyk(0%, 58.2%, 83.5%, 64.3%)
CIE-LABlab(22.46, 22.73, 26.04)
CIE-LCHlch(22.46, 34.56, 48.89°)
OKLaboklab(34.01% 0.063 0.0572)
OKLCHoklch(34.01% 0.085 42.2)
XYZxyz(5.0942, 3.6455, 0.8872)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B260F #0F445B
analogous
#5B0F1E #5B260F #5B4C0F
triadic
#5B260F #0F5B26 #260F5B
tetradic
#5B260F #1E5B0F #0F445B #4C0F5B
square
#5B260F #1E5B0F #0F445B #4C0F5B
split-complementary
#5B260F #0F5B4C #0F1E5B
monochromatic
#1A0B04 #261006 #5B260F #903C18 #C45220

Accessibility & contrast

On white

12.15
#5B260F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5B260F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B260F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B260F#FFFFFF#000000##FFFFFF
##5B260F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0C
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#651A21
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b260f;
/* rgb */ color: rgb(91, 38, 15);
/* oklch */ color: oklch(34.0% 0.085 42.2);
Tailwind
colors: {
  custom: {
    50: '#8f624f',
    500: '#5b260f',
    950: '#000000',
  },
}
SCSS
$custom: #5b260f;
$custom-light: #8f624f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b260f",
  "rgb": {
    "r": 91,
    "g": 38,
    "b": 15
  },
  "hsl": {
    "h": 18.158,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.08509,
    "h": 42.2
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#5B260F
secondary
#317695
accent
#B8EE39
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5B260F

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

Preview Lab → · Contrast checker → · Palette generator →

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