#2C7816#2C7816

#2C7816 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.149 H 139.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2C7816
RGBrgb(44, 120, 22)
HSLhsl(107, 69%, 28%)
HSVhsv(107, 82%, 47%)
CMYKcmyk(63.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.27, -41.58, 43.17)
CIE-LCHlch(44.27, 59.94, 133.92°)
OKLaboklab(50.59% -0.1142 0.0962)
OKLCHoklch(50.59% 0.149 139.9)
XYZxyz(7.8996, 14.0256, 3.0498)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7816 #621678
analogous
#5D7816 #2C7816 #167831
triadic
#2C7816 #162C78 #78162C
tetradic
#2C7816 #165D78 #621678 #783116
square
#2C7816 #165D78 #621678 #783116
split-complementary
#2C7816 #311678 #78165D
monochromatic
#091A05 #19440D #2C7816 #3FAC1F #55D92F

Accessibility & contrast

On white

5.52
#2C7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2C7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7816
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7816#FFFFFF#000000##FFFFFF
##2C78161.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#227466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c7816;
/* rgb */ color: rgb(44, 120, 22);
/* oklch */ color: oklch(50.6% 0.149 139.9);
Tailwind
colors: {
  custom: {
    50: '#70a05c',
    500: '#2c7816',
    950: '#000000',
  },
}
SCSS
$custom: #2c7816;
$custom-light: #70a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7816",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 106.531,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.1493,
    "h": 139.9
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#2C7816
secondary
#943CAD
accent
#3CECC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2C7816

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

Preview Lab → · Contrast checker → · Palette generator →

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