#2E3A22#2E3A22

#2E3A22 is a dark, muted yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.043 H 130.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2E3A22
RGBrgb(46, 58, 34)
HSLhsl(90, 26%, 18%)
HSVhsv(90, 41%, 23%)
CMYKcmyk(20.7%, 0%, 41.4%, 77.3%)
CIE-LABlab(22.73, -10.20, 13.34)
CIE-LCHlch(22.73, 16.79, 127.40°)
OKLaboklab(33.03% -0.0278 0.0331)
OKLCHoklch(33.03% 0.043 130.1)
XYZxyz(2.9285, 3.7224, 2.0773)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A22 #2E223A
analogous
#3A3A22 #2E3A22 #223A22
triadic
#2E3A22 #222E3A #3A222E
tetradic
#2E3A22 #223A3A #2E223A #3A2222
square
#2E3A22 #223A3A #2E223A #3A2222
split-complementary
#2E3A22 #22223A #3A223A
monochromatic
#0F130B #0F130B #2E3A22 #4D6139 #6B874F

Accessibility & contrast

On white

12.04
#2E3A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E3A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3A22
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A22#FFFFFF#000000##FFFFFF
##2E3A221.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3720
Deuteranopia (green-blind)
#3A3623
Tritanopia (blue-blind)
#2F3834
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e3a22;
/* rgb */ color: rgb(46, 58, 34);
/* oklch */ color: oklch(33.0% 0.043 130.1);
Tailwind
colors: {
  custom: {
    50: '#67705d',
    500: '#2e3a22',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a22;
$custom-light: #67705d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a22",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.04323,
    "h": 130.1
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#2E3A22
secondary
#5C4B6D
accent
#65C294
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #2E3A22

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

Preview Lab → · Contrast checker → · Palette generator →

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