#2C4E28#2C4E28

#2C4E28 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.074 H 141.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2C4E28
RGBrgb(44, 78, 40)
HSLhsl(114, 32%, 23%)
HSVhsv(114, 49%, 31%)
CMYKcmyk(43.6%, 0%, 48.7%, 69.4%)
CIE-LABlab(29.76, -21.22, 18.66)
CIE-LCHlch(29.76, 28.26, 138.66°)
OKLaboklab(38.71% -0.0579 0.0456)
OKLCHoklch(38.71% 0.074 141.7)
XYZxyz(4.1459, 6.1372, 2.9732)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E28 #4A284E
analogous
#3F4E28 #2C4E28 #284E37
triadic
#2C4E28 #282C4E #4E282C
tetradic
#2C4E28 #283F4E #4A284E #4E3728
square
#2C4E28 #283F4E #4A284E #4E3728
split-complementary
#2C4E28 #37284E #4E283F
monochromatic
#0B140A #152613 #2C4E28 #43763D #5A9F51

Accessibility & contrast

On white

9.43
#2C4E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C4E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E28
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E28#FFFFFF#000000##FFFFFF
##2C4E281.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504825
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#294C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e28;
/* rgb */ color: rgb(44, 78, 40);
/* oklch */ color: oklch(38.7% 0.074 141.7);
Tailwind
colors: {
  custom: {
    50: '#678062',
    500: '#2c4e28',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e28;
$custom-light: #678062;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e28",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 40
  },
  "hsl": {
    "h": 113.684,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.07372,
    "h": 141.7
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#2C4E28
secondary
#7C5181
accent
#5FC8BD
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2C4E28

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

Preview Lab → · Contrast checker → · Palette generator →

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