#2C7222#2C7222

#2C7222 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.134 H 141.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2C7222
RGBrgb(44, 114, 34)
HSLhsl(113, 54%, 29%)
HSVhsv(113, 70%, 45%)
CMYKcmyk(61.4%, 0%, 70.2%, 55.3%)
CIE-LABlab(42.28, -38.26, 36.45)
CIE-LCHlch(42.28, 52.84, 136.39°)
OKLaboklab(48.97% -0.1045 0.0838)
OKLCHoklch(48.97% 0.134 141.3)
XYZxyz(7.3444, 12.6849, 3.5745)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7222 #682272
analogous
#547222 #2C7222 #227240
triadic
#2C7222 #222C72 #72222C
tetradic
#2C7222 #225472 #682272 #724022
square
#2C7222 #225472 #682272 #724022
split-complementary
#2C7222 #402272 #722254
monochromatic
#091807 #1A4314 #2C7222 #3EA130 #57C846

Accessibility & contrast

On white

5.94
#2C7222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2C7222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7222
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7222#FFFFFF#000000##FFFFFF
##2C72221.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756717
Deuteranopia (green-blind)
#6C6229
Tritanopia (blue-blind)
#226E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7222;
/* rgb */ color: rgb(44, 114, 34);
/* oklch */ color: oklch(49.0% 0.134 141.3);
Tailwind
colors: {
  custom: {
    50: '#6e9b61',
    500: '#2c7222',
    950: '#000000',
  },
}
SCSS
$custom: #2c7222;
$custom-light: #6e9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7222",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 112.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48974,
    "c": 0.13398,
    "h": 141.3
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#2C7222
secondary
#9A4BA5
accent
#4ADDCB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C7222

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

Preview Lab → · Contrast checker → · Palette generator →

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