#2F271C#2F271C

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

Color values

HEX#2F271C
RGBrgb(47, 39, 28)
HSLhsl(35, 25%, 15%)
HSVhsv(35, 40%, 18%)
CMYKcmyk(0%, 17%, 40.4%, 81.6%)
CIE-LABlab(16.20, 1.67, 8.66)
CIE-LCHlch(16.20, 8.82, 79.12°)
OKLaboklab(27.82% 0.0057 0.0218)
OKLCHoklch(27.82% 0.023 75.4)
XYZxyz(2.1074, 2.1393, 1.4003)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F271C #1C242F
analogous
#2F1E1C #2F271C #2E2F1C
triadic
#2F271C #1C2F27 #271C2F
tetradic
#2F271C #1C2F1E #1C242F #2F1C2E
square
#2F271C #1C2F1E #1C242F #2F1C2E
split-complementary
#2F271C #1C2E2F #1E1C2F
monochromatic
#13100B #13100B #2F271C #554733 #7C674A

Accessibility & contrast

On white

14.71
#2F271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F271C
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F271C#FFFFFF#000000##FFFFFF
##2F271C1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f271c;
/* rgb */ color: rgb(47, 39, 28);
/* oklch */ color: oklch(27.8% 0.023 75.4);
Tailwind
colors: {
  custom: {
    50: '#686158',
    500: '#2f271c',
    950: '#000000',
  },
}
SCSS
$custom: #2f271c;
$custom-light: #686158;
$custom-dark: #000000;
JSON
{
  "hex": "#2f271c",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 34.737,
    "s": 25.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27824,
    "c": 0.02254,
    "h": 75.4
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#2F271C
secondary
#455162
accent
#8DC266
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2F271C

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

Preview Lab → · Contrast checker → · Palette generator →

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