#2C9845#2C9845

#2C9845 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.155 H 147.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2C9845
RGBrgb(44, 152, 69)
HSLhsl(134, 55%, 38%)
HSVhsv(134, 71%, 60%)
CMYKcmyk(71.1%, 0%, 54.6%, 40.4%)
CIE-LABlab(55.50, -48.36, 34.74)
CIE-LCHlch(55.50, 59.54, 144.31°)
OKLaboklab(60.02% -0.1303 0.0834)
OKLCHoklch(60.02% 0.155 147.4)
XYZxyz(13.3401, 23.4202, 9.4466)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C9845 #982C7F
analogous
#49982C #2C9845 #2C987B
triadic
#2C9845 #452C98 #98452C
tetradic
#2C9845 #2C4998 #982C7F #987B2C
square
#2C9845 #2C4998 #982C7F #987B2C
split-complementary
#2C9845 #7B2C98 #982C49
monochromatic
#11391A #1E692F #2C9845 #3BC65B #6AD483

Accessibility & contrast

On white

3.69
#2C9845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2C9845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C9845
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C9845#FFFFFF#000000##000000
##2C98451.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3D
Deuteranopia (green-blind)
#8D814B
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2c9845;
/* rgb */ color: rgb(44, 152, 69);
/* oklch */ color: oklch(60.0% 0.155 147.4);
Tailwind
colors: {
  custom: {
    50: '#74b77b',
    500: '#2c9845',
    950: '#000000',
  },
}
SCSS
$custom: #2c9845;
$custom-light: #74b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c9845",
  "rgb": {
    "r": 44,
    "g": 152,
    "b": 69
  },
  "hsl": {
    "h": 133.889,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.1547,
    "h": 147.4
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#2C9845
secondary
#BB65A7
accent
#49BCDE
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2C9845

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

Preview Lab → · Contrast checker → · Palette generator →

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