#2C6040#2C6040

#2C6040 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.4% C 0.077 H 154.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2C6040
RGBrgb(44, 96, 64)
HSLhsl(143, 37%, 27%)
HSVhsv(143, 54%, 38%)
CMYKcmyk(54.2%, 0%, 33.3%, 62.4%)
CIE-LABlab(36.50, -25.60, 13.10)
CIE-LCHlch(36.50, 28.76, 152.90°)
OKLaboklab(44.37% -0.0698 0.0331)
OKLCHoklch(44.37% 0.077 154.6)
XYZxyz(6.1465, 9.2709, 6.3151)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6040 #602C4C
analogous
#32602C #2C6040 #2C605A
triadic
#2C6040 #402C60 #60402C
tetradic
#2C6040 #2C3260 #602C4C #605A2C
square
#2C6040 #2C3260 #602C4C #605A2C
split-complementary
#2C6040 #5A2C60 #602C32
monochromatic
#0A150E #193624 #2C6040 #3F8A5C #55B179

Accessibility & contrast

On white

7.36
#2C6040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2C6040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6040
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6040#FFFFFF#000000##FFFFFF
##2C60401.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593E
Deuteranopia (green-blind)
#585442
Tritanopia (blue-blind)
#1F5F58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c6040;
/* rgb */ color: rgb(44, 96, 64);
/* oklch */ color: oklch(44.4% 0.077 154.6);
Tailwind
colors: {
  custom: {
    50: '#698d75',
    500: '#2c6040',
    950: '#000000',
  },
}
SCSS
$custom: #2c6040;
$custom-light: #698d75;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6040",
  "rgb": {
    "r": 44,
    "g": 96,
    "b": 64
  },
  "hsl": {
    "h": 143.077,
    "s": 37.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.44366,
    "c": 0.07729,
    "h": 154.6
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#2C6040
secondary
#92567B
accent
#5BA1CD
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2C6040

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

Preview Lab → · Contrast checker → · Palette generator →

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