#2C6840#2C6840

#2C6840 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.6% C 0.090 H 152.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2C6840
RGBrgb(44, 104, 64)
HSLhsl(140, 41%, 29%)
HSVhsv(140, 58%, 41%)
CMYKcmyk(57.7%, 0%, 38.5%, 59.2%)
CIE-LABlab(39.25, -29.43, 16.81)
CIE-LCHlch(39.25, 33.90, 150.26°)
OKLaboklab(46.61% -0.0799 0.0421)
OKLCHoklch(46.61% 0.09 152.2)
XYZxyz(6.9139, 10.8057, 6.5708)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6840 #682C54
analogous
#36682C #2C6840 #2C685E
triadic
#2C6840 #402C68 #68402C
tetradic
#2C6840 #2C3668 #682C54 #685E2C
square
#2C6840 #2C3668 #682C54 #685E2C
split-complementary
#2C6840 #5E2C68 #682C36
monochromatic
#09160D #1A3D26 #2C6840 #3E935A #57B877

Accessibility & contrast

On white

6.64
#2C6840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2C6840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6840
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6840#FFFFFF#000000##FFFFFF
##2C68401.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#1C675E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c6840;
/* rgb */ color: rgb(44, 104, 64);
/* oklch */ color: oklch(46.6% 0.090 152.2);
Tailwind
colors: {
  custom: {
    50: '#6b9475',
    500: '#2c6840',
    950: '#000000',
  },
}
SCSS
$custom: #2c6840;
$custom-light: #6b9475;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6840",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 140,
    "s": 40.541,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.0903,
    "h": 152.2
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#2C6840
secondary
#9A5683
accent
#57A8D0
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2C6840

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

Preview Lab → · Contrast checker → · Palette generator →

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