#2C4E20#2C4E20

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

Color values

HEX#2C4E20
RGBrgb(44, 78, 32)
HSLhsl(104, 42%, 22%)
HSVhsv(104, 59%, 31%)
CMYKcmyk(43.6%, 0%, 59%, 69.4%)
CIE-LABlab(29.63, -22.44, 23.16)
CIE-LCHlch(29.63, 32.25, 134.10°)
OKLaboklab(38.58% -0.0617 0.0551)
OKLCHoklch(38.58% 0.083 138.2)
XYZxyz(4.0237, 6.0883, 2.3294)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E20 #42204E
analogous
#434E20 #2C4E20 #204E2B
triadic
#2C4E20 #202C4E #4E202C
tetradic
#2C4E20 #20434E #42204E #4E2B20
square
#2C4E20 #20434E #42204E #4E2B20
split-complementary
#2C4E20 #2B204E #4E2043
monochromatic
#0C1609 #14230E #2C4E20 #447932 #5DA544

Accessibility & contrast

On white

9.47
#2C4E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4E20
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E20#FFFFFF#000000##FFFFFF
##2C4E201.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4e20;
/* rgb */ color: rgb(44, 78, 32);
/* oklch */ color: oklch(38.6% 0.083 138.2);
Tailwind
colors: {
  custom: {
    50: '#68805d',
    500: '#2c4e20',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e20;
$custom-light: #68805d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e20",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 32
  },
  "hsl": {
    "h": 104.348,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38576,
    "c": 0.08272,
    "h": 138.2
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#2C4E20
secondary
#734782
accent
#56D2B1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C4E20

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

Preview Lab → · Contrast checker → · Palette generator →

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