#2F342C#2F342C

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

Color values

HEX#2F342C
RGBrgb(47, 52, 44)
HSLhsl(98, 8%, 19%)
HSVhsv(98, 15%, 20%)
CMYKcmyk(9.6%, 0%, 15.4%, 79.6%)
CIE-LABlab(20.99, -4.01, 4.34)
CIE-LCHlch(20.99, 5.91, 132.76°)
OKLaboklab(31.74% -0.0107 0.0113)
OKLCHoklch(31.74% 0.016 133.6)
XYZxyz(2.8548, 3.2421, 2.8578)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F342C #312C34
analogous
#33342C #2F342C #2C342D
triadic
#2F342C #2C2F34 #342C2F
tetradic
#2F342C #2C3334 #312C34 #342D2C
square
#2F342C #2C3334 #312C34 #342D2C
split-complementary
#2F342C #2D2C34 #342C33
monochromatic
#0F110E #111310 #2F342C #4D5548 #6B7664

Accessibility & contrast

On white

12.74
#2F342C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F342C
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F342C#FFFFFF#000000##FFFFFF
##2F342C1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332C
Deuteranopia (green-blind)
#34322C
Tritanopia (blue-blind)
#2F3332
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f342c;
/* rgb */ color: rgb(47, 52, 44);
/* oklch */ color: oklch(31.7% 0.016 133.6);
Tailwind
colors: {
  custom: {
    50: '#676b65',
    500: '#2f342c',
    950: '#000000',
  },
}
SCSS
$custom: #2f342c;
$custom-light: #676b65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f342c",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 97.5,
    "s": 8.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31741,
    "c": 0.01554,
    "h": 133.6
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#2F342C
secondary
#5F5863
accent
#76B19B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060605
muted
#7A7A7A

Preview Lab

Preview with #2F342C

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

Preview Lab → · Contrast checker → · Palette generator →

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