#5F4212#5F4212

#5F4212 is a dark, moderate orange. Relative luminance 0.064; OKLCH L 40.2% C 0.074 H 75.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#5F4212
RGBrgb(95, 66, 18)
HSLhsl(37, 68%, 22%)
HSVhsv(37, 81%, 37%)
CMYKcmyk(0%, 30.5%, 81.1%, 62.7%)
CIE-LABlab(30.34, 7.61, 32.53)
CIE-LCHlch(30.34, 33.41, 76.83°)
OKLaboklab(40.22% 0.0182 0.0716)
OKLCHoklch(40.22% 0.074 75.8)
XYZxyz(6.7772, 6.3736, 1.4454)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4212 #122F5F
analogous
#5F1C12 #5F4212 #565F12
triadic
#5F4212 #125F42 #42125F
tetradic
#5F4212 #125F1C #122F5F #5F1256
square
#5F4212 #125F1C #122F5F #5F1256
split-complementary
#5F4212 #12565F #1C125F
monochromatic
#1A1205 #2C1E08 #5F4212 #92661C #C68925

Accessibility & contrast

On white

9.23
#5F4212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5F4212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4212
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4212#FFFFFF#000000##FFFFFF
##5F42121.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430B
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#683A38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5f4212;
/* rgb */ color: rgb(95, 66, 18);
/* oklch */ color: oklch(40.2% 0.074 75.8);
Tailwind
colors: {
  custom: {
    50: '#907653',
    500: '#5f4212',
    950: '#000000',
  },
}
SCSS
$custom: #5f4212;
$custom-light: #907653;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4212",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 37.403,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.07385,
    "h": 75.8
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#5F4212
secondary
#365A97
accent
#7EEB3D
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0803
muted
#7E7B78

Preview Lab

Preview with #5F4212

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

Preview Lab → · Contrast checker → · Palette generator →

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