#2E342A#2E342A

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

Color values

HEX#2E342A
RGBrgb(46, 52, 42)
HSLhsl(96, 11%, 18%)
HSVhsv(96, 19%, 20%)
CMYKcmyk(11.5%, 0%, 19.2%, 79.6%)
CIE-LABlab(20.84, -4.89, 5.47)
CIE-LCHlch(20.84, 7.34, 131.78°)
OKLaboklab(31.58% -0.0131 0.0141)
OKLCHoklch(31.58% 0.019 132.8)
XYZxyz(2.7726, 3.2040, 2.6624)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E342A #302A34
analogous
#33342A #2E342A #2A342B
triadic
#2E342A #2A2E34 #342A2E
tetradic
#2E342A #2A3334 #302A34 #342B2A
square
#2E342A #2A3334 #302A34 #342B2A
split-complementary
#2E342A #2B2A34 #342A33
monochromatic
#0F110E #10120F #2E342A #4C5645 #6A7861

Accessibility & contrast

On white

12.80
#2E342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E342A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E342A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E342A#FFFFFF#000000##FFFFFF
##2E342A1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e342a;
/* rgb */ color: rgb(46, 52, 42);
/* oklch */ color: oklch(31.6% 0.019 132.8);
Tailwind
colors: {
  custom: {
    50: '#666b63',
    500: '#2e342a',
    950: '#000000',
  },
}
SCSS
$custom: #2e342a;
$custom-light: #666b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e342a",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 96,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31584,
    "c": 0.01925,
    "h": 132.8
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#2E342A
secondary
#5E5664
accent
#74B49A
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E342A

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

Preview Lab → · Contrast checker → · Palette generator →

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