#2F271B#2F271B

#2F271B is a dark, muted orange. Relative luminance 0.021; OKLCH L 27.8% C 0.024 H 77.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#2F271B
RGBrgb(47, 39, 27)
HSLhsl(36, 27%, 15%)
HSVhsv(36, 43%, 18%)
CMYKcmyk(0%, 17%, 42.6%, 81.6%)
CIE-LABlab(16.18, 1.51, 9.32)
CIE-LCHlch(16.18, 9.44, 80.82°)
OKLaboklab(27.8% 0.0051 0.0234)
OKLCHoklch(27.8% 0.024 77.6)
XYZxyz(2.0957, 2.1346, 1.3383)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F271B #1B232F
analogous
#2F1D1B #2F271B #2D2F1B
triadic
#2F271B #1B2F27 #271B2F
tetradic
#2F271B #1B2F1D #1B232F #2F1B2D
square
#2F271B #1B2F1D #1B232F #2F1B2D
split-complementary
#2F271B #1B2D2F #1D1B2F
monochromatic
#13100B #13100B #2F271B #564731 #7D6848

Accessibility & contrast

On white

14.72
#2F271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F271B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F271B#FFFFFF#000000##FFFFFF
##2F271B1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271A
Deuteranopia (green-blind)
#2C291B
Tritanopia (blue-blind)
#322524
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f271b;
/* rgb */ color: rgb(47, 39, 27);
/* oklch */ color: oklch(27.8% 0.024 77.6);
Tailwind
colors: {
  custom: {
    50: '#686057',
    500: '#2f271b',
    950: '#000000',
  },
}
SCSS
$custom: #2f271b;
$custom-light: #686057;
$custom-dark: #000000;
JSON
{
  "hex": "#2f271b",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 36,
    "s": 27.027,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27798,
    "c": 0.02393,
    "h": 77.6
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#2F271B
secondary
#435063
accent
#8AC364
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2F271B

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

Preview Lab → · Contrast checker → · Palette generator →

#2F271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva