#2C4E2A#2C4E2A

#2C4E2A is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.071 H 142.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2C4E2A
RGBrgb(44, 78, 42)
HSLhsl(117, 30%, 24%)
HSVhsv(117, 46%, 31%)
CMYKcmyk(43.6%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.79, -20.87, 17.51)
CIE-LCHlch(29.79, 27.24, 140.01°)
OKLaboklab(38.75% -0.0569 0.0431)
OKLCHoklch(38.75% 0.071 142.9)
XYZxyz(4.1808, 6.1512, 3.1570)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E2A #4C2A4E
analogous
#3E4E2A #2C4E2A #2A4E3A
triadic
#2C4E2A #2A2C4E #4E2A2C
tetradic
#2C4E2A #2A3E4E #4C2A4E #4E3A2A
square
#2C4E2A #2A3E4E #4C2A4E #4E3A2A
split-complementary
#2C4E2A #3A2A4E #4E2A3E
monochromatic
#0B140B #162615 #2C4E2A #42763F #599E55

Accessibility & contrast

On white

9.42
#2C4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4E2A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E2A#FFFFFF#000000##FFFFFF
##2C4E2A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504827
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#284C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e2a;
/* rgb */ color: rgb(44, 78, 42);
/* oklch */ color: oklch(38.8% 0.071 142.9);
Tailwind
colors: {
  custom: {
    50: '#678064',
    500: '#2c4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e2a;
$custom-light: #678064;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e2a",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 116.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.07136,
    "h": 142.9
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#2C4E2A
secondary
#7E5480
accent
#62C6C1
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2C4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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