#2E3822#2E3822

#2E3822 is a dark, muted yellow-green. Relative luminance 0.035; OKLCH L 32.5% C 0.039 H 128.3°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2E3822
RGBrgb(46, 56, 34)
HSLhsl(87, 24%, 18%)
HSVhsv(87, 39%, 22%)
CMYKcmyk(17.9%, 0%, 39.3%, 78%)
CIE-LABlab(22.03, -8.97, 12.42)
CIE-LCHlch(22.03, 15.32, 125.85°)
OKLaboklab(32.47% -0.0244 0.0309)
OKLCHoklch(32.47% 0.039 128.3)
XYZxyz(2.8296, 3.5247, 2.0443)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3822 #2C2238
analogous
#383722 #2E3822 #233822
triadic
#2E3822 #222E38 #38222E
tetradic
#2E3822 #223837 #2C2238 #382223
square
#2E3822 #223837 #2C2238 #382223
split-complementary
#2E3822 #222338 #372238
monochromatic
#10130C #10130C #2E3822 #4D5E39 #6D8450

Accessibility & contrast

On white

12.32
#2E3822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E3822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3822
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3822#FFFFFF#000000##FFFFFF
##2E38221.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3520
Deuteranopia (green-blind)
#393523
Tritanopia (blue-blind)
#2F3632
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3822;
/* rgb */ color: rgb(46, 56, 34);
/* oklch */ color: oklch(32.5% 0.039 128.3);
Tailwind
colors: {
  custom: {
    50: '#676e5d',
    500: '#2e3822',
    950: '#000000',
  },
}
SCSS
$custom: #2e3822;
$custom-light: #676e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3822",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 34
  },
  "hsl": {
    "h": 87.273,
    "s": 24.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.03939,
    "h": 128.3
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#2E3822
secondary
#594B6A
accent
#67C190
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #2E3822

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

Preview Lab → · Contrast checker → · Palette generator →

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