#2C8D21#2C8D21

#2C8D21 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.168 H 141.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2C8D21
RGBrgb(44, 141, 33)
HSLhsl(114, 62%, 34%)
HSVhsv(114, 77%, 55%)
CMYKcmyk(68.8%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.49, -48.45, 46.36)
CIE-LCHlch(51.49, 67.05, 136.26°)
OKLaboklab(56.59% -0.1321 0.1044)
OKLCHoklch(56.59% 0.168 141.7)
XYZxyz(10.8375, 19.6939, 4.6687)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D21 #82218D
analogous
#628D21 #2C8D21 #218D4C
triadic
#2C8D21 #212C8D #8D212C
tetradic
#2C8D21 #21628D #82218D #8D4C21
square
#2C8D21 #21628D #82218D #8D4C21
split-complementary
#2C8D21 #4C218D #8D2162
monochromatic
#0D2A0A #1D5B15 #2C8D21 #3BBF2D #5FD652

Accessibility & contrast

On white

4.25
#2C8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2C8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D21
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D21#FFFFFF#000000##000000
##2C8D211.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F0A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#178978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d21;
/* rgb */ color: rgb(44, 141, 33);
/* oklch */ color: oklch(56.6% 0.168 141.7);
Tailwind
colors: {
  custom: {
    50: '#74af64',
    500: '#2c8d21',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d21;
$custom-light: #74af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d21",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 113.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56587,
    "c": 0.16841,
    "h": 141.7
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#2C8D21
secondary
#AF50BA
accent
#43E5D5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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