#2C8122#2C8122

#2C8122 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.153 H 141.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2C8122
RGBrgb(44, 129, 34)
HSLhsl(114, 58%, 32%)
HSVhsv(114, 74%, 51%)
CMYKcmyk(65.9%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.43, -44.03, 41.87)
CIE-LCHlch(47.43, 60.76, 136.44°)
OKLaboklab(53.23% -0.1201 0.0952)
OKLCHoklch(53.23% 0.153 141.6)
XYZxyz(9.1772, 16.3506, 4.1854)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8122 #772281
analogous
#5C8122 #2C8122 #228148
triadic
#2C8122 #222C81 #81222C
tetradic
#2C8122 #225C81 #772281 #814822
square
#2C8122 #225C81 #772281 #814822
split-complementary
#2C8122 #482281 #81225C
monochromatic
#0B2008 #1B5115 #2C8122 #3DB12F #5BD04D

Accessibility & contrast

On white

4.92
#2C8122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2C8122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8122
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8122#FFFFFF#000000##FFFFFF
##2C81221.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847512
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#1C7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8122;
/* rgb */ color: rgb(44, 129, 34);
/* oklch */ color: oklch(53.2% 0.153 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a663',
    500: '#2c8122',
    950: '#000000',
  },
}
SCSS
$custom: #2c8122;
$custom-light: #71a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8122",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 113.684,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.15326,
    "h": 141.6
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#2C8122
secondary
#A84BB3
accent
#46E1D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2C8122

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

Preview Lab → · Contrast checker → · Palette generator →

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