#2C7E22#2C7E22

#2C7E22 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.150 H 141.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2C7E22
RGBrgb(44, 126, 34)
HSLhsl(113, 58%, 31%)
HSVhsv(113, 73%, 49%)
CMYKcmyk(65.1%, 0%, 73%, 50.6%)
CIE-LABlab(46.41, -42.91, 40.81)
CIE-LCHlch(46.41, 59.21, 136.44°)
OKLaboklab(52.38% -0.1171 0.093)
OKLCHoklch(52.38% 0.15 141.6)
XYZxyz(8.7878, 15.5718, 4.0556)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E22 #74227E
analogous
#5A7E22 #2C7E22 #227E46
triadic
#2C7E22 #222C7E #7E222C
tetradic
#2C7E22 #225A7E #74227E #7E4622
square
#2C7E22 #225A7E #74227E #7E4622
split-complementary
#2C7E22 #46227E #7E225A
monochromatic
#0A1E08 #1B4E15 #2C7E22 #3DAE2F #5ACF4C

Accessibility & contrast

On white

5.10
#2C7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2C7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E22
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E22#FFFFFF#000000##FFFFFF
##2C7E221.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#1E7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e22;
/* rgb */ color: rgb(44, 126, 34);
/* oklch */ color: oklch(52.4% 0.150 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a463',
    500: '#2c7e22',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e22;
$custom-light: #70a463;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e22",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 113.478,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.14951,
    "h": 141.6
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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