#5A2F16#5A2F16

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

Color values

HEX#5A2F16
RGBrgb(90, 47, 22)
HSLhsl(22, 61%, 22%)
HSVhsv(22, 76%, 35%)
CMYKcmyk(0%, 47.8%, 75.6%, 64.7%)
CIE-LABlab(24.53, 17.26, 24.18)
CIE-LCHlch(24.53, 29.71, 54.48°)
OKLaboklab(35.58% 0.0479 0.0549)
OKLCHoklch(35.58% 0.073 48.9)
XYZxyz(5.3782, 4.2652, 1.2989)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2F16 #16415A
analogous
#5A161F #5A2F16 #5A5116
triadic
#5A2F16 #165A2F #2F165A
tetradic
#5A2F16 #1F5A16 #16415A #51165A
square
#5A2F16 #1F5A16 #16415A #51165A
split-complementary
#5A2F16 #165A51 #161F5A
monochromatic
#190D06 #29150A #5A2F16 #8B4922 #BC622E

Accessibility & contrast

On white

11.33
#5A2F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A2F16
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2F16#FFFFFF#000000##FFFFFF
##5A2F161.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3413
Deuteranopia (green-blind)
#453E16
Tritanopia (blue-blind)
#632629
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5a2f16;
/* rgb */ color: rgb(90, 47, 22);
/* oklch */ color: oklch(35.6% 0.073 48.9);
Tailwind
colors: {
  custom: {
    50: '#8d6854',
    500: '#5a2f16',
    950: '#000000',
  },
}
SCSS
$custom: #5a2f16;
$custom-light: #8d6854;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2f16",
  "rgb": {
    "r": 90,
    "g": 47,
    "b": 22
  },
  "hsl": {
    "h": 22.059,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35582,
    "c": 0.07287,
    "h": 48.9
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#5A2F16
secondary
#3B7191
accent
#A9E444
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5A2F16

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

Preview Lab → · Contrast checker → · Palette generator →

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