#2CA242#2CA242

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

Color values

HEX#2CA242
RGBrgb(44, 162, 66)
HSLhsl(131, 57%, 40%)
HSVhsv(131, 73%, 64%)
CMYKcmyk(72.8%, 0%, 59.3%, 36.5%)
CIE-LABlab(58.76, -52.39, 40.09)
CIE-LCHlch(58.76, 65.97, 142.58°)
OKLaboklab(62.7% -0.1413 0.0949)
OKLCHoklch(62.7% 0.17 146.1)
XYZxyz(14.9413, 26.7678, 9.5325)
Luminance0.2677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CA242 #A22C8C
analogous
#51A22C #2CA242 #2CA27D
triadic
#2CA242 #422CA2 #A2422C
tetradic
#2CA242 #2C51A2 #A22C8C #A27D2C
square
#2CA242 #2C51A2 #A22C8C #A27D2C
split-complementary
#2CA242 #7D2CA2 #A22C51
monochromatic
#12421B #1F722E #2CA242 #40CB5A #70D884

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2CA242#FFFFFF#000000##000000
##2CA2421.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)
#A49338
Deuteranopia (green-blind)
#978A4A
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2ca242;
/* rgb */ color: rgb(44, 162, 66);
/* oklch */ color: oklch(62.7% 0.170 146.1);
Tailwind
colors: {
  custom: {
    50: '#77bf79',
    500: '#2ca242',
    950: '#000000',
  },
}
SCSS
$custom: #2ca242;
$custom-light: #77bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#2ca242",
  "rgb": {
    "r": 44,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 131.186,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62704,
    "c": 0.17016,
    "h": 146.1
  },
  "luminance": 0.26769
}

Semantic roles & 50–950 ramp

primary
#2CA242
secondary
#BF6AB0
accent
#47C4E1
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2CA242

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

Preview Lab → · Contrast checker → · Palette generator →

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