#2C7F22#2C7F22

#2C7F22 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.151 H 141.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2C7F22
RGBrgb(44, 127, 34)
HSLhsl(114, 58%, 32%)
HSVhsv(114, 73%, 50%)
CMYKcmyk(65.4%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.75, -43.28, 41.16)
CIE-LCHlch(46.75, 59.73, 136.44°)
OKLaboklab(52.66% -0.1181 0.0937)
OKLCHoklch(52.66% 0.151 141.6)
XYZxyz(8.9163, 15.8288, 4.0985)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F22 #75227F
analogous
#5B7F22 #2C7F22 #227F47
triadic
#2C7F22 #222C7F #7F222C
tetradic
#2C7F22 #225B7F #75227F #7F4722
square
#2C7F22 #225B7F #75227F #7F4722
split-complementary
#2C7F22 #47227F #7F225B
monochromatic
#0B1E08 #1B4F15 #2C7F22 #3DAF2F #5ACF4C

Accessibility & contrast

On white

5.04
#2C7F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2C7F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F22
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F22#FFFFFF#000000##FFFFFF
##2C7F221.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#1D7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f22;
/* rgb */ color: rgb(44, 127, 34);
/* oklch */ color: oklch(52.7% 0.151 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a563',
    500: '#2c7f22',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f22;
$custom-light: #71a563;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f22",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 113.548,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.15076,
    "h": 141.6
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#2C7F22
secondary
#A74BB2
accent
#47E1D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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