#2C8222#2C8222

#2C8222 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.154 H 141.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2C8222
RGBrgb(44, 130, 34)
HSLhsl(114, 59%, 32%)
HSVhsv(114, 74%, 51%)
CMYKcmyk(66.2%, 0%, 73.8%, 49%)
CIE-LABlab(47.77, -44.40, 42.22)
CIE-LCHlch(47.77, 61.26, 136.44°)
OKLaboklab(53.51% -0.1211 0.0959)
OKLCHoklch(53.51% 0.155 141.6)
XYZxyz(9.3096, 16.6153, 4.2295)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8222 #782282
analogous
#5C8222 #2C8222 #228248
triadic
#2C8222 #222C82 #82222C
tetradic
#2C8222 #225C82 #782282 #824822
square
#2C8222 #225C82 #782282 #824822
split-complementary
#2C8222 #482282 #82225C
monochromatic
#0B2109 #1C5115 #2C8222 #3CB32F #5BD14E

Accessibility & contrast

On white

4.86
#2C8222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2C8222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8222
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8222#FFFFFF#000000##FFFFFF
##2C82221.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#1C7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8222;
/* rgb */ color: rgb(44, 130, 34);
/* oklch */ color: oklch(53.5% 0.154 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a763',
    500: '#2c8222',
    950: '#000000',
  },
}
SCSS
$custom: #2c8222;
$custom-light: #71a763;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8222",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 113.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.1545,
    "h": 141.6
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#2C8222
secondary
#A94CB4
accent
#46E2D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2C8222

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

Preview Lab → · Contrast checker → · Palette generator →

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