#2C9840#2C9840

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

Color values

HEX#2C9840
RGBrgb(44, 152, 64)
HSLhsl(131, 55%, 38%)
HSVhsv(131, 71%, 60%)
CMYKcmyk(71.1%, 0%, 57.9%, 40.4%)
CIE-LABlab(55.44, -49.07, 37.15)
CIE-LCHlch(55.44, 61.55, 142.87°)
OKLaboklab(59.95% -0.1324 0.0883)
OKLCHoklch(59.95% 0.159 146.3)
XYZxyz(13.1914, 23.3607, 8.6633)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C9840 #982C84
analogous
#4E982C #2C9840 #2C9876
triadic
#2C9840 #402C98 #98402C
tetradic
#2C9840 #2C4E98 #982C84 #98762C
square
#2C9840 #2C4E98 #982C84 #98762C
split-complementary
#2C9840 #762C98 #982C4E
monochromatic
#113918 #1E692C #2C9840 #3BC655 #6AD47E

Accessibility & contrast

On white

3.70
#2C9840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2C9840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C9840
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C9840#FFFFFF#000000##000000
##2C98401.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A37
Deuteranopia (green-blind)
#8D8147
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2c9840;
/* rgb */ color: rgb(44, 152, 64);
/* oklch */ color: oklch(60.0% 0.159 146.3);
Tailwind
colors: {
  custom: {
    50: '#75b777',
    500: '#2c9840',
    950: '#000000',
  },
}
SCSS
$custom: #2c9840;
$custom-light: #75b777;
$custom-dark: #000000;
JSON
{
  "hex": "#2c9840",
  "rgb": {
    "r": 44,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 131.111,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.15912,
    "h": 146.3
  },
  "luminance": 0.23362
}

Semantic roles & 50–950 ramp

primary
#2C9840
secondary
#BB65AB
accent
#49C3DE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2C9840

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

Preview Lab → · Contrast checker → · Palette generator →

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