#2C4C2A#2C4C2A

#2C4C2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.2% C 0.068 H 142.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2C4C2A
RGBrgb(44, 76, 42)
HSLhsl(116, 29%, 23%)
HSVhsv(116, 45%, 30%)
CMYKcmyk(42.1%, 0%, 44.7%, 70.2%)
CIE-LABlab(29.09, -19.83, 16.59)
CIE-LCHlch(29.09, 25.85, 140.07°)
OKLaboklab(38.18% -0.054 0.041)
OKLCHoklch(38.18% 0.068 142.8)
XYZxyz(4.0409, 5.8713, 3.1104)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C2A #4A2A4C
analogous
#3D4C2A #2C4C2A #2A4C39
triadic
#2C4C2A #2A2C4C #4C2A2C
tetradic
#2C4C2A #2A3D4C #4A2A4C #4C392A
square
#2C4C2A #2A3D4C #4A2A4C #4C392A
split-complementary
#2C4C2A #392A4C #4C2A3D
monochromatic
#0B140B #152514 #2C4C2A #437340 #5A9B56

Accessibility & contrast

On white

9.66
#2C4C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C4C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C2A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C2A#FFFFFF#000000##FFFFFF
##2C4C2A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#49432C
Tritanopia (blue-blind)
#294A44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4c2a;
/* rgb */ color: rgb(44, 76, 42);
/* oklch */ color: oklch(38.2% 0.068 142.8);
Tailwind
colors: {
  custom: {
    50: '#677e64',
    500: '#2c4c2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c2a;
$custom-light: #677e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c2a",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 116.471,
    "s": 28.814,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.06781,
    "h": 142.8
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#2C4C2A
secondary
#7C547E
accent
#63C5BF
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2C4C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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