#5A2F12#5A2F12

#5A2F12 is a dark, moderate orange. Relative luminance 0.043; OKLCH L 35.5% C 0.075 H 51.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#5A2F12
RGBrgb(90, 47, 18)
HSLhsl(24, 67%, 21%)
HSVhsv(24, 80%, 35%)
CMYKcmyk(0%, 47.8%, 80%, 64.7%)
CIE-LABlab(24.48, 17.03, 26.42)
CIE-LCHlch(24.48, 31.43, 57.19°)
OKLaboklab(35.53% 0.0464 0.0588)
OKLCHoklch(35.53% 0.075 51.7)
XYZxyz(5.3426, 4.2510, 1.1113)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2F12 #123D5A
analogous
#5A1219 #5A2F12 #5A5312
triadic
#5A2F12 #125A2F #2F125A
tetradic
#5A2F12 #195A12 #123D5A #53125A
square
#5A2F12 #195A12 #123D5A #53125A
split-complementary
#5A2F12 #125A53 #12195A
monochromatic
#1A0D05 #271408 #5A2F12 #8D4A1C #C06426

Accessibility & contrast

On white

11.35
#5A2F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A2F12
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2F12#FFFFFF#000000##FFFFFF
##5A2F121.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#632629
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5a2f12;
/* rgb */ color: rgb(90, 47, 18);
/* oklch */ color: oklch(35.5% 0.075 51.7);
Tailwind
colors: {
  custom: {
    50: '#8d6851',
    500: '#5a2f12',
    950: '#000000',
  },
}
SCSS
$custom: #5a2f12;
$custom-light: #8d6851;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2f12",
  "rgb": {
    "r": 90,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 24.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35533,
    "c": 0.07493,
    "h": 51.7
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#5A2F12
secondary
#356D93
accent
#A5EA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A2F12

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

Preview Lab → · Contrast checker → · Palette generator →

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