#2F342E#2F342E

#2F342E is a dark, near-neutral grey. Relative luminance 0.033; OKLCH L 31.8% C 0.013 H 140.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2F342E
RGBrgb(47, 52, 46)
HSLhsl(110, 6%, 19%)
HSVhsv(110, 12%, 20%)
CMYKcmyk(9.6%, 0%, 11.5%, 79.6%)
CIE-LABlab(21.05, -3.57, 3.06)
CIE-LCHlch(21.05, 4.70, 139.35°)
OKLaboklab(31.81% -0.0097 0.008)
OKLCHoklch(31.81% 0.013 140.5)
XYZxyz(2.8933, 3.2576, 3.0606)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F342E #332E34
analogous
#32342E #2F342E #2E3430
triadic
#2F342E #2E2F34 #342E2F
tetradic
#2F342E #2E3234 #332E34 #34302E
square
#2F342E #2E3234 #332E34 #34302E
split-complementary
#2F342E #302E34 #342E32
monochromatic
#0F100E #121411 #2F342E #4C544B #6A7567

Accessibility & contrast

On white

12.71
#2F342E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F342E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F342E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F342E#FFFFFF#000000##FFFFFF
##2F342E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#34322E
Tritanopia (blue-blind)
#2F3432
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f342e;
/* rgb */ color: rgb(47, 52, 46);
/* oklch */ color: oklch(31.8% 0.013 140.5);
Tailwind
colors: {
  custom: {
    50: '#676b66',
    500: '#2f342e',
    950: '#000000',
  },
}
SCSS
$custom: #2f342e;
$custom-light: #676b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f342e",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 110,
    "s": 6.122,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31807,
    "c": 0.01254,
    "h": 140.5
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#2F342E
secondary
#625B63
accent
#79AFA6
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F342E

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

Preview Lab → · Contrast checker → · Palette generator →

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