#2C7A22#2C7A22

#2C7A22 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.144 H 141.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2C7A22
RGBrgb(44, 122, 34)
HSLhsl(113, 56%, 31%)
HSVhsv(113, 72%, 48%)
CMYKcmyk(63.9%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.04, -41.39, 39.38)
CIE-LCHlch(45.04, 57.13, 136.43°)
OKLaboklab(51.25% -0.113 0.09)
OKLCHoklch(51.25% 0.144 141.5)
XYZxyz(8.2865, 14.5692, 3.8885)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A22 #70227A
analogous
#587A22 #2C7A22 #227A44
triadic
#2C7A22 #222C7A #7A222C
tetradic
#2C7A22 #22587A #70227A #7A4422
square
#2C7A22 #22587A #70227A #7A4422
split-complementary
#2C7A22 #44227A #7A2258
monochromatic
#091A07 #1B4A15 #2C7A22 #3DAA2F #59CD4A

Accessibility & contrast

On white

5.37
#2C7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2C7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A22
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A22#FFFFFF#000000##FFFFFF
##2C7A221.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#74682A
Tritanopia (blue-blind)
#1F7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7a22;
/* rgb */ color: rgb(44, 122, 34);
/* oklch */ color: oklch(51.2% 0.144 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a162',
    500: '#2c7a22',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a22;
$custom-light: #70a162;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a22",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 113.182,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.14443,
    "h": 141.5
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#2C7A22
secondary
#A24BAD
accent
#48E0CE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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