#2C6331#2C6331

#2C6331 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.098 H 145.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2C6331
RGBrgb(44, 99, 49)
HSLhsl(125, 38%, 28%)
HSVhsv(125, 56%, 39%)
CMYKcmyk(55.6%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.26, -29.89, 22.92)
CIE-LCHlch(37.26, 37.67, 142.52°)
OKLaboklab(44.9% -0.0811 0.0558)
OKLCHoklch(44.9% 0.098 145.5)
XYZxyz(6.0546, 9.6804, 4.4546)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6331 #632C5E
analogous
#42632C #2C6331 #2C634C
triadic
#2C6331 #312C63 #63312C
tetradic
#2C6331 #2C4263 #632C5E #634C2C
square
#2C6331 #2C4263 #632C5E #634C2C
split-complementary
#2C6331 #4C2C63 #632C42
monochromatic
#09150A #19391C #2C6331 #3F8D46 #56B45E

Accessibility & contrast

On white

7.15
#2C6331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2C6331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6331
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6331#FFFFFF#000000##FFFFFF
##2C63311.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2D
Deuteranopia (green-blind)
#5D5634
Tritanopia (blue-blind)
#236157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c6331;
/* rgb */ color: rgb(44, 99, 49);
/* oklch */ color: oklch(44.9% 0.098 145.5);
Tailwind
colors: {
  custom: {
    50: '#6a906a',
    500: '#2c6331',
    950: '#000000',
  },
}
SCSS
$custom: #2c6331;
$custom-light: #6a906a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6331",
  "rgb": {
    "r": 44,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 125.455,
    "s": 38.462,
    "l": 28.039
  },
  "oklch": {
    "l": 0.44898,
    "c": 0.09843,
    "h": 145.5
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#2C6331
secondary
#95568F
accent
#59C4CE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2C6331

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

Preview Lab → · Contrast checker → · Palette generator →

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