#2C8E28#2C8E28

#2C8E28 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.165 H 142.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2C8E28
RGBrgb(44, 142, 40)
HSLhsl(118, 56%, 36%)
HSVhsv(118, 72%, 56%)
CMYKcmyk(69%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.88, -48.21, 44.05)
CIE-LCHlch(51.88, 65.30, 137.58°)
OKLaboklab(56.92% -0.1311 0.1006)
OKLCHoklch(56.92% 0.165 142.5)
XYZxyz(11.0941, 20.0335, 5.2893)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E28 #8A288E
analogous
#5F8E28 #2C8E28 #288E57
triadic
#2C8E28 #282C8E #8E282C
tetradic
#2C8E28 #285F8E #8A288E #8E5728
square
#2C8E28 #285F8E #8A288E #8E5728
split-complementary
#2C8E28 #57288E #8E285F
monochromatic
#0E2F0D #1D5E1B #2C8E28 #3BBE35 #63D25F

Accessibility & contrast

On white

4.19
#2C8E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2C8E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E28
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E28#FFFFFF#000000##000000
##2C8E281.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#148A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8e28;
/* rgb */ color: rgb(44, 142, 40);
/* oklch */ color: oklch(56.9% 0.165 142.5);
Tailwind
colors: {
  custom: {
    50: '#74b068',
    500: '#2c8e28',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e28;
$custom-light: #74b068;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e28",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 117.647,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.16524,
    "h": 142.5
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#2C8E28
secondary
#B45BB7
accent
#48DFD9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C8E28

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

Preview Lab → · Contrast checker → · Palette generator →

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