#2C8A40#2C8A40

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

Color values

HEX#2C8A40
RGBrgb(44, 138, 64)
HSLhsl(133, 52%, 36%)
HSVhsv(133, 68%, 54%)
CMYKcmyk(68.1%, 0%, 53.6%, 45.9%)
CIE-LABlab(50.78, -43.81, 31.55)
CIE-LCHlch(50.78, 53.99, 144.24°)
OKLaboklab(56.1% -0.1182 0.076)
OKLCHoklch(56.1% 0.141 147.3)
XYZxyz(11.0518, 19.0814, 7.9501)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A40 #8A2C76
analogous
#478A2C #2C8A40 #2C8A6F
triadic
#2C8A40 #402C8A #8A402C
tetradic
#2C8A40 #2C478A #8A2C76 #8A6F2C
square
#2C8A40 #2C478A #8A2C76 #8A6F2C
split-complementary
#2C8A40 #6F2C8A #8A2C47
monochromatic
#0E2D15 #1D5C2A #2C8A40 #3BB856 #63CD7A

Accessibility & contrast

On white

4.36
#2C8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8A40#FFFFFF#000000##000000
##2C8A401.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E39
Deuteranopia (green-blind)
#807645
Tritanopia (blue-blind)
#0A8779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8a40;
/* rgb */ color: rgb(44, 138, 64);
/* oklch */ color: oklch(56.1% 0.141 147.3);
Tailwind
colors: {
  custom: {
    50: '#72ad76',
    500: '#2c8a40',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a40;
$custom-light: #72ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a40",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 132.766,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.14051,
    "h": 147.3
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#2C8A40
secondary
#B45EA1
accent
#4DBDDB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2C8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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