#5F2812#5F2812

#5F2812 is a dark, moderate orange. Relative luminance 0.040; OKLCH L 35.1% C 0.087 H 41.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#5F2812
RGBrgb(95, 40, 18)
HSLhsl(17, 68%, 22%)
HSVhsv(17, 81%, 37%)
CMYKcmyk(0%, 57.9%, 81.1%, 62.7%)
CIE-LABlab(23.65, 23.49, 25.81)
CIE-LCHlch(23.65, 34.90, 47.69°)
OKLaboklab(35.07% 0.0655 0.0572)
OKLCHoklch(35.07% 0.087 41.1)
XYZxyz(5.5878, 3.9949, 1.0490)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2812 #12495F
analogous
#5F1222 #5F2812 #5F4F12
triadic
#5F2812 #125F28 #28125F
tetradic
#5F2812 #225F12 #12495F #4F125F
square
#5F2812 #225F12 #12495F #4F125F
split-complementary
#5F2812 #125F4F #12225F
monochromatic
#1A0B05 #2C1208 #5F2812 #923E1C #C65325

Accessibility & contrast

On white

11.67
#5F2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5F2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2812
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2812#FFFFFF#000000##FFFFFF
##5F28121.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37310F
Deuteranopia (green-blind)
#453D11
Tritanopia (blue-blind)
#691C23
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f2812;
/* rgb */ color: rgb(95, 40, 18);
/* oklch */ color: oklch(35.1% 0.087 41.1);
Tailwind
colors: {
  custom: {
    50: '#926351',
    500: '#5f2812',
    950: '#000000',
  },
}
SCSS
$custom: #5f2812;
$custom-light: #926351;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2812",
  "rgb": {
    "r": 95,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 17.143,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.08698,
    "h": 41.1
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#5F2812
secondary
#367B97
accent
#B9EB3D
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0502
muted
#7E7A78

Preview Lab

Preview with #5F2812

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

Preview Lab → · Contrast checker → · Palette generator →

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