#2C8E21#2C8E21

#2C8E21 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.170 H 141.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2C8E21
RGBrgb(44, 142, 33)
HSLhsl(114, 62%, 34%)
HSVhsv(114, 77%, 56%)
CMYKcmyk(69%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.83, -48.80, 46.69)
CIE-LCHlch(51.83, 67.54, 136.26°)
OKLaboklab(56.87% -0.1331 0.1051)
OKLCHoklch(56.87% 0.17 141.7)
XYZxyz(10.9856, 19.9901, 4.7181)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E21 #83218E
analogous
#638E21 #2C8E21 #218E4D
triadic
#2C8E21 #212C8E #8E212C
tetradic
#2C8E21 #21638E #83218E #8E4D21
square
#2C8E21 #21638E #83218E #8E4D21
split-complementary
#2C8E21 #4D218E #8E2163
monochromatic
#0D2B0A #1D5C15 #2C8E21 #3BC02D #60D752

Accessibility & contrast

On white

4.20
#2C8E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2C8E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E21
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E21#FFFFFF#000000##000000
##2C8E211.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800A
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#168979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8e21;
/* rgb */ color: rgb(44, 142, 33);
/* oklch */ color: oklch(56.9% 0.170 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b064',
    500: '#2c8e21',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e21;
$custom-light: #74b064;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e21",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 113.945,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.16959,
    "h": 141.7
  },
  "luminance": 0.19991
}

Semantic roles & 50–950 ramp

primary
#2C8E21
secondary
#B050BA
accent
#42E5D5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C8E21

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

Preview Lab → · Contrast checker → · Palette generator →

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