#2F342A#2F342A

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

Color values

HEX#2F342A
RGBrgb(47, 52, 42)
HSLhsl(90, 11%, 18%)
HSVhsv(90, 19%, 20%)
CMYKcmyk(9.6%, 0%, 19.2%, 79.6%)
CIE-LABlab(20.93, -4.44, 5.61)
CIE-LCHlch(20.93, 7.16, 128.34°)
OKLaboklab(31.68% -0.0118 0.0145)
OKLCHoklch(31.68% 0.019 129.1)
XYZxyz(2.8181, 3.2275, 2.6645)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F342A #2F2A34
analogous
#34342A #2F342A #2A342A
triadic
#2F342A #2A2F34 #342A2F
tetradic
#2F342A #2A3434 #2F2A34 #342A2A
square
#2F342A #2A3434 #2F2A34 #342A2A
split-complementary
#2F342A #2A2A34 #342A34
monochromatic
#0F110E #10120F #2F342A #4E5645 #6C7861

Accessibility & contrast

On white

12.76
#2F342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F342A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F342A#FFFFFF#000000##FFFFFF
##2F342A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f342a;
/* rgb */ color: rgb(47, 52, 42);
/* oklch */ color: oklch(31.7% 0.019 129.1);
Tailwind
colors: {
  custom: {
    50: '#676b63',
    500: '#2f342a',
    950: '#000000',
  },
}
SCSS
$custom: #2f342a;
$custom-light: #676b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f342a",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 90,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31678,
    "c": 0.01865,
    "h": 129.1
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#2F342A
secondary
#5D5664
accent
#74B494
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F342A

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

Preview Lab → · Contrast checker → · Palette generator →

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