#5B290F#5B290F

#5B290F is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.5% C 0.082 H 45.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#5B290F
RGBrgb(91, 41, 15)
HSLhsl(21, 72%, 21%)
HSVhsv(21, 84%, 36%)
CMYKcmyk(0%, 54.9%, 83.5%, 64.3%)
CIE-LABlab(23.15, 20.98, 26.75)
CIE-LCHlch(23.15, 34.00, 51.90°)
OKLaboklab(34.54% 0.0577 0.0587)
OKLCHoklch(34.54% 0.082 45.5)
XYZxyz(5.1941, 3.8452, 0.9205)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B290F #0F415B
analogous
#5B0F1B #5B290F #5B4F0F
triadic
#5B290F #0F5B29 #290F5B
tetradic
#5B290F #1B5B0F #0F415B #4F0F5B
square
#5B290F #1B5B0F #0F415B #4F0F5B
split-complementary
#5B290F #0F5B4F #0F1B5B
monochromatic
#1A0C04 #261106 #5B290F #904118 #C45820

Accessibility & contrast

On white

11.87
#5B290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B290F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B290F#FFFFFF#000000##FFFFFF
##5B290F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300C
Deuteranopia (green-blind)
#433B0E
Tritanopia (blue-blind)
#651E24
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b290f;
/* rgb */ color: rgb(91, 41, 15);
/* oklch */ color: oklch(34.5% 0.082 45.5);
Tailwind
colors: {
  custom: {
    50: '#8f644f',
    500: '#5b290f',
    950: '#000000',
  },
}
SCSS
$custom: #5b290f;
$custom-light: #8f644f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b290f",
  "rgb": {
    "r": 91,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 20.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.08229,
    "h": 45.5
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#5B290F
secondary
#317395
accent
#B0EE39
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0D0502
muted
#7E7A78

Preview Lab

Preview with #5B290F

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

Preview Lab → · Contrast checker → · Palette generator →

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