#2E4228#2E4228

#2E4228 is a dark, muted green. Relative luminance 0.046; OKLCH L 35.4% C 0.050 H 138.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2E4228
RGBrgb(46, 66, 40)
HSLhsl(106, 25%, 21%)
HSVhsv(106, 39%, 26%)
CMYKcmyk(30.3%, 0%, 39.4%, 74.1%)
CIE-LABlab(25.65, -13.87, 13.36)
CIE-LCHlch(25.65, 19.26, 136.07°)
OKLaboklab(35.42% -0.0378 0.0333)
OKLCHoklch(35.42% 0.05 138.6)
XYZxyz(3.4578, 4.6304, 2.7186)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4228 #3C2842
analogous
#3B4228 #2E4228 #28422F
triadic
#2E4228 #282E42 #42282E
tetradic
#2E4228 #283B42 #3C2842 #422F28
square
#2E4228 #283B42 #3C2842 #422F28
split-complementary
#2E4228 #2F2842 #42283B
monochromatic
#0D130C #131C11 #2E4228 #49683F #638E56

Accessibility & contrast

On white

10.90
#2E4228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E4228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4228
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4228#FFFFFF#000000##FFFFFF
##2E42281.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E26
Deuteranopia (green-blind)
#413C29
Tritanopia (blue-blind)
#2D403B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4228;
/* rgb */ color: rgb(46, 66, 40);
/* oklch */ color: oklch(35.4% 0.050 138.6);
Tailwind
colors: {
  custom: {
    50: '#677662',
    500: '#2e4228',
    950: '#000000',
  },
}
SCSS
$custom: #2e4228;
$custom-light: #677662;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4228",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 106.154,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35423,
    "c": 0.05043,
    "h": 138.6
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#2E4228
secondary
#6C5274
accent
#67C1AC
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #2E4228

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

Preview Lab → · Contrast checker → · Palette generator →

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