#2C4838#2C4838

#2C4838 is a dark, muted green. Relative luminance 0.055; OKLCH L 37.4% C 0.044 H 158.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2C4838
RGBrgb(44, 72, 56)
HSLhsl(146, 24%, 23%)
HSVhsv(146, 39%, 28%)
CMYKcmyk(38.9%, 0%, 22.2%, 71.8%)
CIE-LABlab(28.00, -14.71, 6.30)
CIE-LCHlch(28.00, 16.01, 156.81°)
OKLaboklab(37.4% -0.0408 0.0162)
OKLCHoklch(37.4% 0.044 158.3)
XYZxyz(4.0696, 5.4555, 4.5792)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4838 #482C3C
analogous
#2E482C #2C4838 #2C4846
triadic
#2C4838 #382C48 #48382C
tetradic
#2C4838 #2C2E48 #482C3C #48462C
square
#2C4838 #2C2E48 #482C3C #48462C
split-complementary
#2C4838 #462C48 #482C2E
monochromatic
#0C130F #15221A #2C4838 #436E56 #5A9473

Accessibility & contrast

On white

10.04
#2C4838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C4838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4838
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4838#FFFFFF#000000##FFFFFF
##2C48381.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484437
Deuteranopia (green-blind)
#434139
Tritanopia (blue-blind)
#264843
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4838;
/* rgb */ color: rgb(44, 72, 56);
/* oklch */ color: oklch(37.4% 0.044 158.3);
Tailwind
colors: {
  custom: {
    50: '#667b6e',
    500: '#2c4838',
    950: '#000000',
  },
}
SCSS
$custom: #2c4838;
$custom-light: #667b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4838",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 56
  },
  "hsl": {
    "h": 145.714,
    "s": 24.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.37399,
    "c": 0.04389,
    "h": 158.3
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#2C4838
secondary
#79566A
accent
#679AC1
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060907
muted
#7A7B7A

Preview Lab

Preview with #2C4838

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

Preview Lab → · Contrast checker → · Palette generator →

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