#2C8B21#2C8B21

#2C8B21 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.166 H 141.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2C8B21
RGBrgb(44, 139, 33)
HSLhsl(114, 62%, 34%)
HSVhsv(114, 76%, 55%)
CMYKcmyk(68.3%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.81, -47.74, 45.69)
CIE-LCHlch(50.81, 66.08, 136.26°)
OKLaboklab(56.03% -0.1302 0.103)
OKLCHoklch(56.03% 0.166 141.7)
XYZxyz(10.5453, 19.1094, 4.5713)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B21 #80218B
analogous
#618B21 #2C8B21 #218B4B
triadic
#2C8B21 #212C8B #8B212C
tetradic
#2C8B21 #21618B #80218B #8B4B21
square
#2C8B21 #21618B #80218B #8B4B21
split-complementary
#2C8B21 #4B218B #8B2161
monochromatic
#0D280A #1C5A15 #2C8B21 #3CBC2D #5FD651

Accessibility & contrast

On white

4.35
#2C8B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2C8B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B21
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B21#FFFFFF#000000##000000
##2C8B211.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0B
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#188777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b21;
/* rgb */ color: rgb(44, 139, 33);
/* oklch */ color: oklch(56.0% 0.166 141.7);
Tailwind
colors: {
  custom: {
    50: '#73ae64',
    500: '#2c8b21',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b21;
$custom-light: #73ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b21",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 113.774,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56028,
    "c": 0.16604,
    "h": 141.7
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C8B21

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

Preview Lab → · Contrast checker → · Palette generator →

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