#2C8C22#2C8C22

#2C8C22 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.167 H 141.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C8C22
RGBrgb(44, 140, 34)
HSLhsl(114, 61%, 34%)
HSVhsv(114, 76%, 55%)
CMYKcmyk(68.6%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.16, -48.01, 45.66)
CIE-LCHlch(51.16, 66.26, 136.44°)
OKLaboklab(56.32% -0.1309 0.1031)
OKLCHoklch(56.32% 0.167 141.8)
XYZxyz(10.7049, 19.4060, 4.6946)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C22 #82228C
analogous
#618C22 #2C8C22 #228C4D
triadic
#2C8C22 #222C8C #8C222C
tetradic
#2C8C22 #22618C #82228C #8C4D22
square
#2C8C22 #22618C #82228C #8C4D22
split-complementary
#2C8C22 #4D228C #8C2261
monochromatic
#0D2A0A #1D5B16 #2C8C22 #3BBD2E #5FD553

Accessibility & contrast

On white

4.30
#2C8C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2C8C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C22
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C22#FFFFFF#000000##000000
##2C8C221.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#178878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c22;
/* rgb */ color: rgb(44, 140, 34);
/* oklch */ color: oklch(56.3% 0.167 141.8);
Tailwind
colors: {
  custom: {
    50: '#73af65',
    500: '#2c8c22',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c22;
$custom-light: #73af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c22",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 114.34,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.16663,
    "h": 141.8
  },
  "luminance": 0.19407
}

Semantic roles & 50–950 ramp

primary
#2C8C22
secondary
#AF51B9
accent
#44E4D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8C22

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

Preview Lab → · Contrast checker → · Palette generator →

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