#2C8C21#2C8C21

#2C8C21 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.167 H 141.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C8C21
RGBrgb(44, 140, 33)
HSLhsl(114, 62%, 34%)
HSVhsv(114, 76%, 55%)
CMYKcmyk(68.6%, 0%, 76.4%, 45.1%)
CIE-LABlab(51.15, -48.09, 46.02)
CIE-LCHlch(51.15, 66.57, 136.26°)
OKLaboklab(56.31% -0.1312 0.1037)
OKLCHoklch(56.31% 0.167 141.7)
XYZxyz(10.6907, 19.4003, 4.6198)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C21 #81218C
analogous
#628C21 #2C8C21 #218C4C
triadic
#2C8C21 #212C8C #8C212C
tetradic
#2C8C21 #21628C #81218C #8C4C21
square
#2C8C21 #21628C #81218C #8C4C21
split-complementary
#2C8C21 #4C218C #8C2162
monochromatic
#0D290A #1C5A15 #2C8C21 #3CBE2D #5FD651

Accessibility & contrast

On white

4.30
#2C8C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2C8C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C21
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C21#FFFFFF#000000##000000
##2C8C211.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F0B
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#178877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c21;
/* rgb */ color: rgb(44, 140, 33);
/* oklch */ color: oklch(56.3% 0.167 141.7);
Tailwind
colors: {
  custom: {
    50: '#73af64',
    500: '#2c8c21',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c21;
$custom-light: #73af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c21",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 113.832,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.16722,
    "h": 141.7
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#2C8C21
secondary
#AF4FB9
accent
#43E5D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8C21

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

Preview Lab → · Contrast checker → · Palette generator →

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