#2C8822#2C8822

#2C8822 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.162 H 141.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2C8822
RGBrgb(44, 136, 34)
HSLhsl(114, 60%, 33%)
HSVhsv(114, 75%, 53%)
CMYKcmyk(67.6%, 0%, 75%, 46.7%)
CIE-LABlab(49.81, -46.59, 44.30)
CIE-LCHlch(49.81, 64.28, 136.44°)
OKLaboklab(55.2% -0.127 0.1003)
OKLCHoklch(55.2% 0.162 141.7)
XYZxyz(10.1311, 18.2583, 4.5034)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8822 #7E2288
analogous
#5F8822 #2C8822 #22884B
triadic
#2C8822 #222C88 #88222C
tetradic
#2C8822 #225F88 #7E2288 #884B22
square
#2C8822 #225F88 #7E2288 #884B22
split-complementary
#2C8822 #4B2288 #88225F
monochromatic
#0C260A #1C5716 #2C8822 #3CB92E #5ED351

Accessibility & contrast

On white

4.51
#2C8822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2C8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8822
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8822#FFFFFF#000000##000000
##2C88221.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#80742D
Tritanopia (blue-blind)
#198474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c8822;
/* rgb */ color: rgb(44, 136, 34);
/* oklch */ color: oklch(55.2% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#73ac64',
    500: '#2c8822',
    950: '#000000',
  },
}
SCSS
$custom: #2c8822;
$custom-light: #73ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8822",
  "rgb": {
    "r": 44,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 114.118,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55196,
    "c": 0.16183,
    "h": 141.7
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#2C8822
secondary
#AD4FB7
accent
#45E3D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8822

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

Preview Lab → · Contrast checker → · Palette generator →

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