#2C6940#2C6940

#2C6940 is a mid, moderate green. Relative luminance 0.110; OKLCH L 46.9% C 0.092 H 152.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2C6940
RGBrgb(44, 105, 64)
HSLhsl(140, 41%, 29%)
HSVhsv(140, 58%, 41%)
CMYKcmyk(58.1%, 0%, 39%, 58.8%)
CIE-LABlab(39.59, -29.90, 17.27)
CIE-LCHlch(39.59, 34.53, 149.99°)
OKLaboklab(46.89% -0.0811 0.0432)
OKLCHoklch(46.89% 0.092 152)
XYZxyz(7.0152, 11.0082, 6.6046)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6940 #692C55
analogous
#37692C #2C6940 #2C695F
triadic
#2C6940 #402C69 #69402C
tetradic
#2C6940 #2C3769 #692C55 #695F2C
square
#2C6940 #2C3769 #692C55 #695F2C
split-complementary
#2C6940 #5F2C69 #692C37
monochromatic
#09160D #1A3E26 #2C6940 #3E945A #57B977

Accessibility & contrast

On white

6.56
#2C6940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2C6940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6940
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6940#FFFFFF#000000##FFFFFF
##2C69401.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#1C685F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c6940;
/* rgb */ color: rgb(44, 105, 64);
/* oklch */ color: oklch(46.9% 0.092 152.0);
Tailwind
colors: {
  custom: {
    50: '#6b9475',
    500: '#2c6940',
    950: '#000000',
  },
}
SCSS
$custom: #2c6940;
$custom-light: #6b9475;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6940",
  "rgb": {
    "r": 44,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 139.672,
    "s": 40.94,
    "l": 29.216
  },
  "oklch": {
    "l": 0.46894,
    "c": 0.09189,
    "h": 152
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#2C6940
secondary
#9B5684
accent
#57A9D1
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2C6940

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

Preview Lab → · Contrast checker → · Palette generator →

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