#2C6540#2C6540

#2C6540 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.8% C 0.085 H 153.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2C6540
RGBrgb(44, 101, 64)
HSLhsl(141, 39%, 28%)
HSVhsv(141, 56%, 40%)
CMYKcmyk(56.4%, 0%, 36.6%, 60.4%)
CIE-LABlab(38.22, -28.02, 15.43)
CIE-LCHlch(38.22, 31.99, 151.16°)
OKLaboklab(45.77% -0.0762 0.0388)
OKLCHoklch(45.77% 0.085 153)
XYZxyz(6.6173, 10.2124, 6.4720)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6540 #652C51
analogous
#34652C #2C6540 #2C655C
triadic
#2C6540 #402C65 #65402C
tetradic
#2C6540 #2C3465 #652C51 #655C2C
square
#2C6540 #2C3465 #652C51 #655C2C
split-complementary
#2C6540 #5C2C65 #652C34
monochromatic
#09150E #193A25 #2C6540 #3F905B #56B577

Accessibility & contrast

On white

6.90
#2C6540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2C6540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6540
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6540#FFFFFF#000000##FFFFFF
##2C65401.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5D5842
Tritanopia (blue-blind)
#1D645B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c6540;
/* rgb */ color: rgb(44, 101, 64);
/* oklch */ color: oklch(45.8% 0.085 153.0);
Tailwind
colors: {
  custom: {
    50: '#6a9175',
    500: '#2c6540',
    950: '#000000',
  },
}
SCSS
$custom: #2c6540;
$custom-light: #6a9175;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6540",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 141.053,
    "s": 39.31,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.08547,
    "h": 153
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#2C6540
secondary
#975680
accent
#59A6CF
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070D08
muted
#7A7D7B

Preview Lab

Preview with #2C6540

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

Preview Lab → · Contrast checker → · Palette generator →

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