#2C6D40#2C6D40

#2C6D40 is a mid, moderate green. Relative luminance 0.118; OKLCH L 48.0% C 0.098 H 151.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2C6D40
RGBrgb(44, 109, 64)
HSLhsl(138, 42%, 30%)
HSVhsv(138, 60%, 43%)
CMYKcmyk(59.6%, 0%, 41.3%, 57.3%)
CIE-LABlab(40.96, -31.72, 19.08)
CIE-LCHlch(40.96, 37.02, 148.97°)
OKLaboklab(48.02% -0.0859 0.0475)
OKLCHoklch(48.02% 0.098 151.1)
XYZxyz(7.4322, 11.8422, 6.7436)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6D40 #6D2C59
analogous
#386D2C #2C6D40 #2C6D61
triadic
#2C6D40 #402C6D #6D402C
tetradic
#2C6D40 #2C386D #6D2C59 #6D612C
square
#2C6D40 #2C386D #6D2C59 #6D612C
split-complementary
#2C6D40 #612C6D #6D2C38
monochromatic
#09160D #1A4126 #2C6D40 #3E995A #58BC77

Accessibility & contrast

On white

6.23
#2C6D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2C6D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6D40
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6D40#FFFFFF#000000##FFFFFF
##2C6D401.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D643D
Deuteranopia (green-blind)
#655E43
Tritanopia (blue-blind)
#1B6B62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c6d40;
/* rgb */ color: rgb(44, 109, 64);
/* oklch */ color: oklch(48.0% 0.098 151.1);
Tailwind
colors: {
  custom: {
    50: '#6c9775',
    500: '#2c6d40',
    950: '#000000',
  },
}
SCSS
$custom: #2c6d40;
$custom-light: #6c9775;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6d40",
  "rgb": {
    "r": 44,
    "g": 109,
    "b": 64
  },
  "hsl": {
    "h": 138.462,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.09818,
    "h": 151.1
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#2C6D40
secondary
#9F5688
accent
#56ACD2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2C6D40

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

Preview Lab → · Contrast checker → · Palette generator →

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