#2C4E22#2C4E22

#2C4E22 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.081 H 139.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2C4E22
RGBrgb(44, 78, 34)
HSLhsl(106, 39%, 22%)
HSVhsv(106, 56%, 31%)
CMYKcmyk(43.6%, 0%, 56.4%, 69.4%)
CIE-LABlab(29.66, -22.16, 22.06)
CIE-LCHlch(29.66, 31.26, 135.13°)
OKLaboklab(38.61% -0.0607 0.0529)
OKLCHoklch(38.61% 0.081 139)
XYZxyz(4.0517, 6.0995, 2.4769)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E22 #44224E
analogous
#424E22 #2C4E22 #224E2E
triadic
#2C4E22 #222C4E #4E222C
tetradic
#2C4E22 #22424E #44224E #4E2E22
square
#2C4E22 #22424E #44224E #4E2E22
split-complementary
#2C4E22 #2E224E #4E2242
monochromatic
#0C1509 #14230F #2C4E22 #447935 #5CA347

Accessibility & contrast

On white

9.46
#2C4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E22
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E22#FFFFFF#000000##FFFFFF
##2C4E221.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481E
Deuteranopia (green-blind)
#4B4525
Tritanopia (blue-blind)
#2A4B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e22;
/* rgb */ color: rgb(44, 78, 34);
/* oklch */ color: oklch(38.6% 0.081 139.0);
Tailwind
colors: {
  custom: {
    50: '#68805e',
    500: '#2c4e22',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e22;
$custom-light: #68805e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e22",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 106.364,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.08055,
    "h": 139
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#2C4E22
secondary
#754A82
accent
#59CFB4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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