#2F271F#2F271F

#2F271F is a dark, near-neutral orange. Relative luminance 0.022; OKLCH L 27.9% C 0.019 H 66.9°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#2F271F
RGBrgb(47, 39, 31)
HSLhsl(30, 21%, 15%)
HSVhsv(30, 34%, 18%)
CMYKcmyk(0%, 17%, 34%, 81.6%)
CIE-LABlab(16.28, 2.17, 6.67)
CIE-LCHlch(16.28, 7.02, 71.96°)
OKLaboklab(27.91% 0.0073 0.0171)
OKLCHoklch(27.91% 0.019 66.9)
XYZxyz(2.1452, 2.1544, 1.5989)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F271F #1F272F
analogous
#2F1F1F #2F271F #2F2F1F
triadic
#2F271F #1F2F27 #271F2F
tetradic
#2F271F #1F2F1F #1F272F #2F1F2F
square
#2F271F #1F2F1F #1F272F #2F1F2F
split-complementary
#2F271F #1F2F2F #1F1F2F
monochromatic
#120F0C #120F0C #2F271F #544637 #796450

Accessibility & contrast

On white

14.68
#2F271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F271F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F271F#FFFFFF#000000##FFFFFF
##2F271F1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271E
Deuteranopia (green-blind)
#2C291F
Tritanopia (blue-blind)
#322525
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f271f;
/* rgb */ color: rgb(47, 39, 31);
/* oklch */ color: oklch(27.9% 0.019 66.9);
Tailwind
colors: {
  custom: {
    50: '#67615a',
    500: '#2f271f',
    950: '#000000',
  },
}
SCSS
$custom: #2f271f;
$custom-light: #67615a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f271f",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 30,
    "s": 20.513,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27908,
    "c": 0.01853,
    "h": 66.9
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#2F271F
secondary
#495561
accent
#94BD6B
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2F271F

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

Preview Lab → · Contrast checker → · Palette generator →

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