#2C6340#2C6340

#2C6340 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.2% C 0.082 H 153.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2C6340
RGBrgb(44, 99, 64)
HSLhsl(142, 38%, 28%)
HSVhsv(142, 56%, 39%)
CMYKcmyk(55.6%, 0%, 35.4%, 61.2%)
CIE-LABlab(37.53, -27.06, 14.50)
CIE-LCHlch(37.53, 30.70, 151.81°)
OKLaboklab(45.21% -0.0737 0.0365)
OKLCHoklch(45.21% 0.082 153.6)
XYZxyz(6.4255, 9.8288, 6.4080)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6340 #632C4F
analogous
#33632C #2C6340 #2C635B
triadic
#2C6340 #402C63 #63402C
tetradic
#2C6340 #2C3363 #632C4F #635B2C
square
#2C6340 #2C3363 #632C4F #635B2C
split-complementary
#2C6340 #5B2C63 #632C33
monochromatic
#09150E #193925 #2C6340 #3F8D5B #56B478

Accessibility & contrast

On white

7.08
#2C6340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2C6340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6340
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6340#FFFFFF#000000##FFFFFF
##2C63401.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C3E
Deuteranopia (green-blind)
#5B5642
Tritanopia (blue-blind)
#1E625A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c6340;
/* rgb */ color: rgb(44, 99, 64);
/* oklch */ color: oklch(45.2% 0.082 153.6);
Tailwind
colors: {
  custom: {
    50: '#6a9075',
    500: '#2c6340',
    950: '#000000',
  },
}
SCSS
$custom: #2c6340;
$custom-light: #6a9075;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6340",
  "rgb": {
    "r": 44,
    "g": 99,
    "b": 64
  },
  "hsl": {
    "h": 141.818,
    "s": 38.462,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.08223,
    "h": 153.6
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#2C6340
secondary
#95567E
accent
#59A4CE
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2C6340

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

Preview Lab → · Contrast checker → · Palette generator →

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