#5F270F#5F270F

#5F270F is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.9% C 0.089 H 41.9°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#5F270F
RGBrgb(95, 39, 15)
HSLhsl(18, 73%, 22%)
HSVhsv(18, 84%, 37%)
CMYKcmyk(0%, 58.9%, 84.2%, 62.7%)
CIE-LABlab(23.40, 23.93, 27.23)
CIE-LCHlch(23.40, 36.25, 48.70°)
OKLaboklab(34.87% 0.0663 0.0594)
OKLCHoklch(34.87% 0.089 41.9)
XYZxyz(5.5316, 3.9191, 0.9170)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F270F #0F475F
analogous
#5F0F1F #5F270F #5F4F0F
triadic
#5F270F #0F5F27 #270F5F
tetradic
#5F270F #1F5F0F #0F475F #4F0F5F
square
#5F270F #1F5F0F #0F475F #4F0F5F
split-complementary
#5F270F #0F5F4F #0F1F5F
monochromatic
#1A0B04 #2A1107 #5F270F #943D17 #C95220

Accessibility & contrast

On white

11.77
#5F270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5F270F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F270F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F270F#FFFFFF#000000##FFFFFF
##5F270F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300C
Deuteranopia (green-blind)
#443D0D
Tritanopia (blue-blind)
#691A22
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f270f;
/* rgb */ color: rgb(95, 39, 15);
/* oklch */ color: oklch(34.9% 0.089 41.9);
Tailwind
colors: {
  custom: {
    50: '#92634f',
    500: '#5f270f',
    950: '#000000',
  },
}
SCSS
$custom: #5f270f;
$custom-light: #92634f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f270f",
  "rgb": {
    "r": 95,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 18,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.08899,
    "h": 41.9
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#5F270F
secondary
#327998
accent
#B9EF38
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5F270F

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

Preview Lab → · Contrast checker → · Palette generator →

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