#2E3826#2E3826

#2E3826 is a dark, muted yellow-green. Relative luminance 0.035; OKLCH L 32.6% C 0.034 H 131.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2E3826
RGBrgb(46, 56, 38)
HSLhsl(93, 19%, 18%)
HSVhsv(93, 32%, 22%)
CMYKcmyk(17.9%, 0%, 32.1%, 78%)
CIE-LABlab(22.12, -8.24, 9.91)
CIE-LCHlch(22.12, 12.89, 129.74°)
OKLaboklab(32.57% -0.0223 0.025)
OKLCHoklch(32.57% 0.034 131.7)
XYZxyz(2.8907, 3.5491, 2.3661)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3826 #302638
analogous
#373826 #2E3826 #263827
triadic
#2E3826 #262E38 #38262E
tetradic
#2E3826 #263738 #302638 #382726
square
#2E3826 #263738 #302638 #382726
split-complementary
#2E3826 #272638 #382637
monochromatic
#0F120C #10140D #2E3826 #4C5C3F #6A8157

Accessibility & contrast

On white

12.28
#2E3826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3826
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3826#FFFFFF#000000##FFFFFF
##2E38261.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3525
Deuteranopia (green-blind)
#383527
Tritanopia (blue-blind)
#2E3633
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3826;
/* rgb */ color: rgb(46, 56, 38);
/* oklch */ color: oklch(32.6% 0.034 131.7);
Tailwind
colors: {
  custom: {
    50: '#676e60',
    500: '#2e3826',
    950: '#000000',
  },
}
SCSS
$custom: #2e3826;
$custom-light: #676e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3826",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 38
  },
  "hsl": {
    "h": 93.333,
    "s": 19.149,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3257,
    "c": 0.03352,
    "h": 131.7
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#2E3826
secondary
#5E5069
accent
#6CBC98
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #2E3826

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

Preview Lab → · Contrast checker → · Palette generator →

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