#2F271A#2F271A

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

Color values

HEX#2F271A
RGBrgb(47, 39, 26)
HSLhsl(37, 29%, 14%)
HSVhsv(37, 45%, 18%)
CMYKcmyk(0%, 17%, 44.7%, 81.6%)
CIE-LABlab(16.16, 1.35, 9.98)
CIE-LCHlch(16.16, 10.07, 82.29°)
OKLaboklab(27.77% 0.0046 0.0249)
OKLCHoklch(27.77% 0.025 79.5)
XYZxyz(2.0843, 2.1300, 1.2784)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F271A #1A222F
analogous
#2F1D1A #2F271A #2D2F1A
triadic
#2F271A #1A2F27 #271A2F
tetradic
#2F271A #1A2F1D #1A222F #2F1A2D
square
#2F271A #1A2F1D #1A222F #2F1A2D
split-complementary
#2F271A #1A2D2F #1D1A2F
monochromatic
#14100B #14100B #2F271A #564830 #7E6846

Accessibility & contrast

On white

14.73
#2F271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F271A
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F271A#FFFFFF#000000##FFFFFF
##2F271A1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f271a;
/* rgb */ color: rgb(47, 39, 26);
/* oklch */ color: oklch(27.8% 0.025 79.5);
Tailwind
colors: {
  custom: {
    50: '#686056',
    500: '#2f271a',
    950: '#000000',
  },
}
SCSS
$custom: #2f271a;
$custom-light: #686056;
$custom-dark: #000000;
JSON
{
  "hex": "#2f271a",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 37.143,
    "s": 28.767,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27772,
    "c": 0.02532,
    "h": 79.5
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#2F271A
secondary
#424E63
accent
#88C563
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2F271A

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

Preview Lab → · Contrast checker → · Palette generator →

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