#2C7C22#2C7C22

#2C7C22 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.147 H 141.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2C7C22
RGBrgb(44, 124, 34)
HSLhsl(113, 57%, 31%)
HSVhsv(113, 73%, 49%)
CMYKcmyk(64.5%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.72, -42.15, 40.09)
CIE-LCHlch(45.72, 58.17, 136.43°)
OKLaboklab(51.82% -0.115 0.0915)
OKLCHoklch(51.82% 0.147 141.5)
XYZxyz(8.5347, 15.0654, 3.9712)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C22 #72227C
analogous
#597C22 #2C7C22 #227C45
triadic
#2C7C22 #222C7C #7C222C
tetradic
#2C7C22 #22597C #72227C #7C4522
square
#2C7C22 #22597C #72227C #7C4522
split-complementary
#2C7C22 #45227C #7C2259
monochromatic
#0A1C08 #1B4C15 #2C7C22 #3DAC2F #59CE4B

Accessibility & contrast

On white

5.23
#2C7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2C7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C22
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C22#FFFFFF#000000##FFFFFF
##2C7C221.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#1E786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7c22;
/* rgb */ color: rgb(44, 124, 34);
/* oklch */ color: oklch(51.8% 0.147 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a363',
    500: '#2c7c22',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c22;
$custom-light: #70a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c22",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 113.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.14697,
    "h": 141.5
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#2C7C22
secondary
#A44BAF
accent
#48E0CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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