#2C8F21#2C8F21

#2C8F21 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.171 H 141.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C8F21
RGBrgb(44, 143, 33)
HSLhsl(114, 63%, 35%)
HSVhsv(114, 77%, 56%)
CMYKcmyk(69.2%, 0%, 76.9%, 43.9%)
CIE-LABlab(52.16, -49.15, 47.03)
CIE-LCHlch(52.16, 68.02, 136.26°)
OKLaboklab(57.15% -0.134 0.1058)
OKLCHoklch(57.15% 0.171 141.7)
XYZxyz(11.1351, 20.2890, 4.7679)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F21 #84218F
analogous
#638F21 #2C8F21 #218F4D
triadic
#2C8F21 #212C8F #8F212C
tetradic
#2C8F21 #21638F #84218F #8F4D21
square
#2C8F21 #21638F #84218F #8F4D21
split-complementary
#2C8F21 #4D218F #8F2163
monochromatic
#0D2C0A #1D5D16 #2C8F21 #3BC12C #60D753

Accessibility & contrast

On white

4.15
#2C8F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2C8F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F21
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F21#FFFFFF#000000##000000
##2C8F211.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#168A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8f21;
/* rgb */ color: rgb(44, 143, 33);
/* oklch */ color: oklch(57.1% 0.171 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b164',
    500: '#2c8f21',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f21;
$custom-light: #74b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f21",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 114,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.17076,
    "h": 141.7
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#2C8F21
secondary
#B051BB
accent
#42E6D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C8F21

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

Preview Lab → · Contrast checker → · Palette generator →

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