#2C6822#2C6822

#2C6822 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.120 H 140.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2C6822
RGBrgb(44, 104, 34)
HSLhsl(111, 51%, 27%)
HSVhsv(111, 67%, 41%)
CMYKcmyk(57.7%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.81, -34.16, 32.67)
CIE-LCHlch(38.81, 47.26, 136.28°)
OKLaboklab(46.11% -0.0934 0.0758)
OKLCHoklch(46.11% 0.12 140.9)
XYZxyz(6.2775, 10.5511, 3.2188)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6822 #5E2268
analogous
#4F6822 #2C6822 #22683B
triadic
#2C6822 #222C68 #68222C
tetradic
#2C6822 #224F68 #5E2268 #683B22
square
#2C6822 #224F68 #5E2268 #683B22
split-complementary
#2C6822 #3B2268 #68224F
monochromatic
#0A1708 #183A13 #2C6822 #409631 #55C243

Accessibility & contrast

On white

6.75
#2C6822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2C6822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6822
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6822#FFFFFF#000000##FFFFFF
##2C68221.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#256559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c6822;
/* rgb */ color: rgb(44, 104, 34);
/* oklch */ color: oklch(46.1% 0.120 140.9);
Tailwind
colors: {
  custom: {
    50: '#6c9460',
    500: '#2c6822',
    950: '#000000',
  },
}
SCSS
$custom: #2c6822;
$custom-light: #6c9460;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6822",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 111.429,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.1203,
    "h": 140.9
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#2C6822
secondary
#904A9C
accent
#4EDAC6
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2C6822

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

Preview Lab → · Contrast checker → · Palette generator →

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