#2C7D22#2C7D22

#2C7D22 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.148 H 141.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2C7D22
RGBrgb(44, 125, 34)
HSLhsl(113, 57%, 31%)
HSVhsv(113, 73%, 49%)
CMYKcmyk(64.8%, 0%, 72.8%, 51%)
CIE-LABlab(46.07, -42.53, 40.45)
CIE-LCHlch(46.07, 58.70, 136.44°)
OKLaboklab(52.1% -0.1161 0.0922)
OKLCHoklch(52.1% 0.148 141.5)
XYZxyz(8.6606, 15.3174, 4.0132)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D22 #73227D
analogous
#597D22 #2C7D22 #227D45
triadic
#2C7D22 #222C7D #7D222C
tetradic
#2C7D22 #22597D #73227D #7D4522
square
#2C7D22 #22597D #73227D #7D4522
split-complementary
#2C7D22 #45227D #7D2259
monochromatic
#0A1D08 #1B4D15 #2C7D22 #3DAD2F #5ACE4B

Accessibility & contrast

On white

5.17
#2C7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2C7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D22
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D22#FFFFFF#000000##FFFFFF
##2C7D221.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#1E796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d22;
/* rgb */ color: rgb(44, 125, 34);
/* oklch */ color: oklch(52.1% 0.148 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a363',
    500: '#2c7d22',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d22;
$custom-light: #70a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d22",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 113.407,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.14825,
    "h": 141.5
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#2C7D22
secondary
#A54BB0
accent
#47E0D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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