#5A2F18#5A2F18

#5A2F18 is a dark, moderate orange. Relative luminance 0.043; OKLCH L 35.6% C 0.072 H 47.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#5A2F18
RGBrgb(90, 47, 24)
HSLhsl(21, 58%, 22%)
HSVhsv(21, 73%, 35%)
CMYKcmyk(0%, 47.8%, 73.3%, 64.7%)
CIE-LABlab(24.55, 17.39, 23.02)
CIE-LCHlch(24.55, 28.85, 52.93°)
OKLaboklab(35.61% 0.0487 0.0528)
OKLCHoklch(35.61% 0.072 47.4)
XYZxyz(5.3983, 4.2732, 1.4045)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2F18 #18435A
analogous
#5A1822 #5A2F18 #5A5018
triadic
#5A2F18 #185A2F #2F185A
tetradic
#5A2F18 #225A18 #18435A #50185A
square
#5A2F18 #225A18 #18435A #50185A
split-complementary
#5A2F18 #185A50 #18225A
monochromatic
#180D06 #2A160B #5A2F18 #8A4825 #BB6132

Accessibility & contrast

On white

11.32
#5A2F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5A2F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2F18
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2F18#FFFFFF#000000##FFFFFF
##5A2F181.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3416
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#63262A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5a2f18;
/* rgb */ color: rgb(90, 47, 24);
/* oklch */ color: oklch(35.6% 0.072 47.4);
Tailwind
colors: {
  custom: {
    50: '#8d6855',
    500: '#5a2f18',
    950: '#000000',
  },
}
SCSS
$custom: #5a2f18;
$custom-light: #8d6855;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2f18",
  "rgb": {
    "r": 90,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 20.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3561,
    "c": 0.07182,
    "h": 47.4
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#5A2F18
secondary
#3D7491
accent
#ABE147
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5A2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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