#2C8D22#2C8D22

#2C8D22 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.168 H 141.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2C8D22
RGBrgb(44, 141, 34)
HSLhsl(114, 61%, 34%)
HSVhsv(114, 76%, 55%)
CMYKcmyk(68.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.50, -48.37, 46.00)
CIE-LCHlch(51.50, 66.75, 136.44°)
OKLaboklab(56.59% -0.1319 0.1038)
OKLCHoklch(56.59% 0.168 141.8)
XYZxyz(10.8517, 19.6996, 4.7436)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D22 #83228D
analogous
#618D22 #2C8D22 #228D4E
triadic
#2C8D22 #222C8D #8D222C
tetradic
#2C8D22 #22618D #83228D #8D4E22
square
#2C8D22 #22618D #83228D #8D4E22
split-complementary
#2C8D22 #4E228D #8D2261
monochromatic
#0D2A0A #1D5C16 #2C8D22 #3BBE2E #60D654

Accessibility & contrast

On white

4.25
#2C8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2C8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D22
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D22#FFFFFF#000000##000000
##2C8D221.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#178978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d22;
/* rgb */ color: rgb(44, 141, 34);
/* oklch */ color: oklch(56.6% 0.168 141.8);
Tailwind
colors: {
  custom: {
    50: '#74af65',
    500: '#2c8d22',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d22;
$custom-light: #74af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d22",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 114.393,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.16783,
    "h": 141.8
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

primary
#2C8D22
secondary
#B051B9
accent
#44E4D5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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