#2C6820#2C6820

#2C6820 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.122 H 140.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2C6820
RGBrgb(44, 104, 32)
HSLhsl(110, 53%, 27%)
HSVhsv(110, 69%, 41%)
CMYKcmyk(57.7%, 0%, 69.2%, 59.2%)
CIE-LABlab(38.79, -34.37, 33.59)
CIE-LCHlch(38.79, 48.06, 135.66°)
OKLaboklab(46.09% -0.0941 0.0775)
OKLCHoklch(46.09% 0.122 140.5)
XYZxyz(6.2495, 10.5399, 3.0713)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6820 #5C2068
analogous
#506820 #2C6820 #206838
triadic
#2C6820 #202C68 #68202C
tetradic
#2C6820 #205068 #5C2068 #683820
square
#2C6820 #205068 #5C2068 #683820
split-complementary
#2C6820 #382068 #682050
monochromatic
#0A1707 #183912 #2C6820 #40972E #55C43F

Accessibility & contrast

On white

6.76
#2C6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C6820
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6820#FFFFFF#000000##FFFFFF
##2C68201.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c6820;
/* rgb */ color: rgb(44, 104, 32);
/* oklch */ color: oklch(46.1% 0.122 140.5);
Tailwind
colors: {
  custom: {
    50: '#6c945f',
    500: '#2c6820',
    950: '#000000',
  },
}
SCSS
$custom: #2c6820;
$custom-light: #6c945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6820",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 110,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.12195,
    "h": 140.5
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#2C6820
secondary
#8E489C
accent
#4BDCC4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2C6820

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

Preview Lab → · Contrast checker → · Palette generator →

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