#2C8D28#2C8D28

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

Color values

HEX#2C8D28
RGBrgb(44, 141, 40)
HSLhsl(118, 56%, 35%)
HSVhsv(118, 72%, 55%)
CMYKcmyk(68.8%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.54, -47.85, 43.70)
CIE-LCHlch(51.54, 64.80, 137.60°)
OKLaboklab(56.64% -0.1301 0.0998)
OKLCHoklch(56.64% 0.164 142.5)
XYZxyz(10.9460, 19.7373, 5.2399)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D28 #89288D
analogous
#5E8D28 #2C8D28 #288D56
triadic
#2C8D28 #282C8D #8D282C
tetradic
#2C8D28 #285E8D #89288D #8D5628
square
#2C8D28 #285E8D #89288D #8D5628
split-complementary
#2C8D28 #56288D #8D285E
monochromatic
#0E2E0D #1D5D1A #2C8D28 #3BBD36 #63D15E

Accessibility & contrast

On white

4.24
#2C8D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2C8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D28
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D28#FFFFFF#000000##000000
##2C8D281.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#158979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d28;
/* rgb */ color: rgb(44, 141, 40);
/* oklch */ color: oklch(56.6% 0.164 142.5);
Tailwind
colors: {
  custom: {
    50: '#73af68',
    500: '#2c8d28',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d28;
$custom-light: #73af68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d28",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 117.624,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.16402,
    "h": 142.5
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#2C8D28
secondary
#B35AB7
accent
#49DFD9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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