#2F342B#2F342B

#2F342B is a dark, near-neutral yellow-green. Relative luminance 0.032; OKLCH L 31.7% C 0.017 H 131.2°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2F342B
RGBrgb(47, 52, 43)
HSLhsl(93, 9%, 19%)
HSVhsv(93, 17%, 20%)
CMYKcmyk(9.6%, 0%, 17.3%, 79.6%)
CIE-LABlab(20.96, -4.23, 4.97)
CIE-LCHlch(20.96, 6.53, 130.35°)
OKLaboklab(31.71% -0.0112 0.0129)
OKLCHoklch(31.71% 0.017 131.2)
XYZxyz(2.8363, 3.2347, 2.7600)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F342B #302B34
analogous
#33342B #2F342B #2B342B
triadic
#2F342B #2B2F34 #342B2F
tetradic
#2F342B #2B3334 #302B34 #342B2B
square
#2F342B #2B3334 #302B34 #342B2B
split-complementary
#2F342B #2B2B34 #342B33
monochromatic
#0F110E #11120F #2F342B #4D5547 #6C7762

Accessibility & contrast

On white

12.75
#2F342B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F342B
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F342B#FFFFFF#000000##FFFFFF
##2F342B1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332A
Deuteranopia (green-blind)
#34322B
Tritanopia (blue-blind)
#2F3331
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f342b;
/* rgb */ color: rgb(47, 52, 43);
/* oklch */ color: oklch(31.7% 0.017 131.2);
Tailwind
colors: {
  custom: {
    50: '#676b64',
    500: '#2f342b',
    950: '#000000',
  },
}
SCSS
$custom: #2f342b;
$custom-light: #676b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f342b",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 93.333,
    "s": 9.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31709,
    "c": 0.01709,
    "h": 131.2
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#2F342B
secondary
#5E5764
accent
#75B297
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F342B

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

Preview Lab → · Contrast checker → · Palette generator →

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