#2C8E45#2C8E45

#2C8E45 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.141 H 148.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C8E45
RGBrgb(44, 142, 69)
HSLhsl(135, 53%, 36%)
HSVhsv(135, 69%, 56%)
CMYKcmyk(69%, 0%, 51.4%, 44.3%)
CIE-LABlab(52.19, -44.58, 30.67)
CIE-LCHlch(52.19, 54.11, 145.47°)
OKLaboklab(57.28% -0.1202 0.0743)
OKLCHoklch(57.28% 0.141 148.3)
XYZxyz(11.7850, 20.3099, 8.9282)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E45 #8E2C75
analogous
#448E2C #2C8E45 #2C8E76
triadic
#2C8E45 #452C8E #8E452C
tetradic
#2C8E45 #2C448E #8E2C75 #8E762C
square
#2C8E45 #2C448E #8E2C75 #8E762C
split-complementary
#2C8E45 #762C8E #8E2C44
monochromatic
#0F3118 #1E5F2E #2C8E45 #3ABD5C #65CF80

Accessibility & contrast

On white

4.15
#2C8E45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2C8E45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E45
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E45#FFFFFF#000000##000000
##2C8E451.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F823F
Deuteranopia (green-blind)
#83794A
Tritanopia (blue-blind)
#018B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8e45;
/* rgb */ color: rgb(44, 142, 69);
/* oklch */ color: oklch(57.3% 0.141 148.3);
Tailwind
colors: {
  custom: {
    50: '#72b07a',
    500: '#2c8e45',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e45;
$custom-light: #72b07a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e45",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 135.306,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.14128,
    "h": 148.3
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#2C8E45
secondary
#B660A0
accent
#4CB7DC
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2C8E45

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

Preview Lab → · Contrast checker → · Palette generator →

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