#2C7216#2C7216

#2C7216 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.142 H 139.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2C7216
RGBrgb(44, 114, 22)
HSLhsl(106, 68%, 27%)
HSVhsv(106, 81%, 45%)
CMYKcmyk(61.4%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.20, -39.28, 41.19)
CIE-LCHlch(42.20, 56.92, 133.64°)
OKLaboklab(48.87% -0.108 0.092)
OKLCHoklch(48.87% 0.142 139.6)
XYZxyz(7.2005, 12.6274, 2.8168)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7216 #5C1672
analogous
#5A7216 #2C7216 #16722E
triadic
#2C7216 #162C72 #72162C
tetradic
#2C7216 #165A72 #5C1672 #722E16
square
#2C7216 #165A72 #5C1672 #722E16
split-complementary
#2C7216 #2E1672 #72165A
monochromatic
#0A1A05 #183F0C #2C7216 #40A520 #55D62C

Accessibility & contrast

On white

5.96
#2C7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2C7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7216
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7216#FFFFFF#000000##FFFFFF
##2C72161.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#246E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7216;
/* rgb */ color: rgb(44, 114, 22);
/* oklch */ color: oklch(48.9% 0.142 139.6);
Tailwind
colors: {
  custom: {
    50: '#6f9b5b',
    500: '#2c7216',
    950: '#000000',
  },
}
SCSS
$custom: #2c7216;
$custom-light: #6f9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7216",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 105.652,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.14189,
    "h": 139.6
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#2C7216
secondary
#8E3CA8
accent
#3DEBC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7216

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

Preview Lab → · Contrast checker → · Palette generator →

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