#2ECF42#2ECF42

#2ECF42 is a light, highly saturated green. Relative luminance 0.456; OKLCH L 74.8% C 0.222 H 144.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2ECF42
RGBrgb(46, 207, 66)
HSLhsl(127, 64%, 50%)
HSVhsv(127, 78%, 81%)
CMYKcmyk(77.8%, 0%, 68.1%, 18.8%)
CIE-LABlab(73.28, -66.97, 56.30)
CIE-LCHlch(73.28, 87.50, 139.95°)
OKLaboklab(74.77% -0.1809 0.1294)
OKLCHoklch(74.77% 0.222 144.4)
XYZxyz(24.4212, 45.5969, 12.6672)
Luminance0.4560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2ECF42 #CF2EBB
analogous
#6BCF2E #2ECF42 #2ECF92
triadic
#2ECF42 #422ECF #CF422E
tetradic
#2ECF42 #2E6BCF #CF2EBB #CF922E
square
#2ECF42 #2E6BCF #CF2EBB #CF922E
split-complementary
#2ECF42 #922ECF #CF2E6B
monochromatic
#186B22 #239D32 #2ECF42 #5FDB6E #91E79C

Accessibility & contrast

On white

2.08
#2ECF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#2ECF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2ECF42
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2ECF42#FFFFFF#000000##000000
##2ECF421.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2E
Deuteranopia (green-blind)
#C1AF50
Tritanopia (blue-blind)
#00C9B3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #2ecf42;
/* rgb */ color: rgb(46, 207, 66);
/* oklch */ color: oklch(74.8% 0.222 144.4);
Tailwind
colors: {
  custom: {
    50: '#82df7d',
    500: '#2ecf42',
    950: '#000000',
  },
}
SCSS
$custom: #2ecf42;
$custom-light: #82df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2ecf42",
  "rgb": {
    "r": 46,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 127.453,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74766,
    "c": 0.22243,
    "h": 144.4
  },
  "luminance": 0.456
}

Semantic roles & 50–950 ramp

primary
#2ECF42
secondary
#D188C8
accent
#41D2E7
background
#F8FDF7
surface
#F0FBEE
border
#CBD4C9
text
#0C150A
muted
#7D837C

Preview Lab

Preview with #2ECF42

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

Preview Lab → · Contrast checker → · Palette generator →

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