#2CA240#2CA240

#2CA240 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.172 H 145.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2CA240
RGBrgb(44, 162, 64)
HSLhsl(130, 57%, 40%)
HSVhsv(130, 73%, 64%)
CMYKcmyk(72.8%, 0%, 60.5%, 36.5%)
CIE-LABlab(58.74, -52.64, 41.01)
CIE-LCHlch(58.74, 66.73, 142.08°)
OKLaboklab(62.68% -0.142 0.0967)
OKLCHoklch(62.68% 0.172 145.8)
XYZxyz(14.8834, 26.7446, 9.2273)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CA240 #A22C8E
analogous
#53A22C #2CA240 #2CA27B
triadic
#2CA240 #402CA2 #A2402C
tetradic
#2CA240 #2C53A2 #A22C8E #A27B2C
square
#2CA240 #2C53A2 #A22C8E #A27B2C
split-complementary
#2CA240 #7B2CA2 #A22C53
monochromatic
#12421A #1F722D #2CA240 #40CB58 #70D882

Accessibility & contrast

On white

3.31
#2CA240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#2CA240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2CA240
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CA240#FFFFFF#000000##000000
##2CA2401.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49336
Deuteranopia (green-blind)
#978A48
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2ca240;
/* rgb */ color: rgb(44, 162, 64);
/* oklch */ color: oklch(62.7% 0.172 145.8);
Tailwind
colors: {
  custom: {
    50: '#77bf78',
    500: '#2ca240',
    950: '#000000',
  },
}
SCSS
$custom: #2ca240;
$custom-light: #77bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#2ca240",
  "rgb": {
    "r": 44,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 130.169,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.17181,
    "h": 145.8
  },
  "luminance": 0.26746
}

Semantic roles & 50–950 ramp

primary
#2CA240
secondary
#BF6AB1
accent
#47C7E1
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2CA240

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

Preview Lab → · Contrast checker → · Palette generator →

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