#2C4828#2C4828

#2C4828 is a dark, moderate green. Relative luminance 0.053; OKLCH L 37.0% C 0.063 H 141.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2C4828
RGBrgb(44, 72, 40)
HSLhsl(113, 29%, 22%)
HSVhsv(113, 44%, 28%)
CMYKcmyk(38.9%, 0%, 44.4%, 71.8%)
CIE-LABlab(27.64, -18.04, 15.94)
CIE-LCHlch(27.64, 24.07, 138.54°)
OKLaboklab(36.99% -0.0492 0.0394)
OKLCHoklch(36.99% 0.063 141.4)
XYZxyz(3.7389, 5.3232, 2.8376)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4828 #442848
analogous
#3C4828 #2C4828 #284834
triadic
#2C4828 #282C48 #48282C
tetradic
#2C4828 #283C48 #442848 #483428
square
#2C4828 #283C48 #442848 #483428
split-complementary
#2C4828 #342848 #48283C
monochromatic
#0C140B #142112 #2C4828 #446F3E #5C9754

Accessibility & contrast

On white

10.17
#2C4828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C4828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4828
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4828#FFFFFF#000000##FFFFFF
##2C48281.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4326
Deuteranopia (green-blind)
#45402A
Tritanopia (blue-blind)
#2A4640
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4828;
/* rgb */ color: rgb(44, 72, 40);
/* oklch */ color: oklch(37.0% 0.063 141.4);
Tailwind
colors: {
  custom: {
    50: '#667b62',
    500: '#2c4828',
    950: '#000000',
  },
}
SCSS
$custom: #2c4828;
$custom-light: #667b62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4828",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 112.5,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.36992,
    "c": 0.06304,
    "h": 141.4
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#2C4828
secondary
#75527A
accent
#63C5B9
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#060905
muted
#7A7B79

Preview Lab

Preview with #2C4828

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

Preview Lab → · Contrast checker → · Palette generator →

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