#5F2D12#5F2D12

#5F2D12 is a dark, moderate orange. Relative luminance 0.044; OKLCH L 35.9% C 0.082 H 46.5°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#5F2D12
RGBrgb(95, 45, 18)
HSLhsl(21, 68%, 22%)
HSVhsv(21, 81%, 37%)
CMYKcmyk(0%, 52.6%, 81.1%, 62.7%)
CIE-LABlab(24.81, 20.58, 27.01)
CIE-LCHlch(24.81, 33.96, 52.70°)
OKLaboklab(35.95% 0.0567 0.0598)
OKLCHoklch(35.95% 0.082 46.5)
XYZxyz(5.7674, 4.3540, 1.1088)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2D12 #12445F
analogous
#5F121D #5F2D12 #5F5412
triadic
#5F2D12 #125F2D #2D125F
tetradic
#5F2D12 #1D5F12 #12445F #54125F
square
#5F2D12 #1D5F12 #12445F #54125F
split-complementary
#5F2D12 #125F54 #121D5F
monochromatic
#1A0C05 #2C1508 #5F2D12 #92451C #C65E25

Accessibility & contrast

On white

11.23
#5F2D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5F2D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2D12
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2D12#FFFFFF#000000##FFFFFF
##5F2D121.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#692227
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f2d12;
/* rgb */ color: rgb(95, 45, 18);
/* oklch */ color: oklch(35.9% 0.082 46.5);
Tailwind
colors: {
  custom: {
    50: '#916751',
    500: '#5f2d12',
    950: '#000000',
  },
}
SCSS
$custom: #5f2d12;
$custom-light: #916751;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2d12",
  "rgb": {
    "r": 95,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 21.039,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.35949,
    "c": 0.08236,
    "h": 46.5
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#5F2D12
secondary
#367597
accent
#AEEB3D
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0602
muted
#7E7A78

Preview Lab

Preview with #5F2D12

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

Preview Lab → · Contrast checker → · Palette generator →

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