#2E3828#2E3828

#2E3828 is a dark, muted yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.031 H 134.0°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2E3828
RGBrgb(46, 56, 40)
HSLhsl(98, 17%, 19%)
HSVhsv(98, 29%, 22%)
CMYKcmyk(17.9%, 0%, 28.6%, 78%)
CIE-LABlab(22.17, -7.85, 8.66)
CIE-LCHlch(22.17, 11.69, 132.21°)
OKLaboklab(32.62% -0.0212 0.022)
OKLCHoklch(32.62% 0.031 134)
XYZxyz(2.9238, 3.5623, 2.5406)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3828 #322838
analogous
#363828 #2E3828 #28382A
triadic
#2E3828 #282E38 #38282E
tetradic
#2E3828 #283638 #322838 #382A28
square
#2E3828 #283638 #322838 #382A28
split-complementary
#2E3828 #2A2838 #382836
monochromatic
#0F120D #11140F #2E3828 #4B5C42 #697F5B

Accessibility & contrast

On white

12.26
#2E3828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E3828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3828
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3828#FFFFFF#000000##FFFFFF
##2E38281.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393627
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#2E3734
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3828;
/* rgb */ color: rgb(46, 56, 40);
/* oklch */ color: oklch(32.6% 0.031 134.0);
Tailwind
colors: {
  custom: {
    50: '#676e62',
    500: '#2e3828',
    950: '#000000',
  },
}
SCSS
$custom: #2e3828;
$custom-light: #676e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3828",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 40
  },
  "hsl": {
    "h": 97.5,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32623,
    "c": 0.03057,
    "h": 134
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#2E3828
secondary
#615369
accent
#6EB99D
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060705
muted
#7A7A79

Preview Lab

Preview with #2E3828

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

Preview Lab → · Contrast checker → · Palette generator →

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