#2C4228#2C4228

#2C4228 is a dark, muted green. Relative luminance 0.046; OKLCH L 35.3% C 0.052 H 140.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2C4228
RGBrgb(44, 66, 40)
HSLhsl(111, 25%, 21%)
HSVhsv(111, 39%, 26%)
CMYKcmyk(33.3%, 0%, 39.4%, 74.1%)
CIE-LABlab(25.52, -14.70, 13.16)
CIE-LCHlch(25.52, 19.73, 138.17°)
OKLaboklab(35.28% -0.0401 0.0328)
OKLCHoklch(35.28% 0.052 140.7)
XYZxyz(3.3698, 4.5850, 2.7145)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4228 #3E2842
analogous
#394228 #2C4228 #284231
triadic
#2C4228 #282C42 #42282C
tetradic
#2C4228 #283942 #3E2842 #423128
square
#2C4228 #283942 #3E2842 #423128
split-complementary
#2C4228 #312842 #422839
monochromatic
#0D130C #131C11 #2C4228 #45683F #5F8E56

Accessibility & contrast

On white

10.95
#2C4228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C4228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4228
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4228#FFFFFF#000000##FFFFFF
##2C42281.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E26
Deuteranopia (green-blind)
#403C29
Tritanopia (blue-blind)
#2A403B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4228;
/* rgb */ color: rgb(44, 66, 40);
/* oklch */ color: oklch(35.3% 0.052 140.7);
Tailwind
colors: {
  custom: {
    50: '#667662',
    500: '#2c4228',
    950: '#000000',
  },
}
SCSS
$custom: #2c4228;
$custom-light: #667662;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4228",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 110.769,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35276,
    "c": 0.05182,
    "h": 140.7
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#2C4228
secondary
#6F5274
accent
#67C1B3
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #2C4228

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

Preview Lab → · Contrast checker → · Palette generator →

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