#2C8D45#2C8D45

#2C8D45 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.140 H 148.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2C8D45
RGBrgb(44, 141, 69)
HSLhsl(135, 52%, 36%)
HSVhsv(135, 69%, 55%)
CMYKcmyk(68.8%, 0%, 51.1%, 44.7%)
CIE-LABlab(51.85, -44.19, 30.26)
CIE-LCHlch(51.85, 53.56, 145.60°)
OKLaboklab(57.01% -0.1191 0.0734)
OKLCHoklch(57.01% 0.14 148.4)
XYZxyz(11.6369, 20.0137, 8.8788)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D45 #8D2C74
analogous
#448D2C #2C8D45 #2C8D76
triadic
#2C8D45 #452C8D #8D452C
tetradic
#2C8D45 #2C448D #8D2C74 #8D762C
square
#2C8D45 #2C448D #8D2C74 #8D762C
split-complementary
#2C8D45 #762C8D #8D2C44
monochromatic
#0F3017 #1D5E2E #2C8D45 #3BBC5C #65CF80

Accessibility & contrast

On white

4.20
#2C8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2C8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D45
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D45#FFFFFF#000000##000000
##2C8D451.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E813F
Deuteranopia (green-blind)
#82784A
Tritanopia (blue-blind)
#028A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8d45;
/* rgb */ color: rgb(44, 141, 69);
/* oklch */ color: oklch(57.0% 0.140 148.4);
Tailwind
colors: {
  custom: {
    50: '#72af7a',
    500: '#2c8d45',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d45;
$custom-light: #72af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d45",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 135.464,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57005,
    "c": 0.13991,
    "h": 148.4
  },
  "luminance": 0.20015
}

Semantic roles & 50–950 ramp

primary
#2C8D45
secondary
#B5609F
accent
#4CB7DC
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2C8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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