#C2E742#C2E742

#C2E742 is a very light, vivid yellow-green. Relative luminance 0.690; OKLCH L 87.2% C 0.188 H 121.5°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#C2E742
RGBrgb(194, 231, 66)
HSLhsl(73, 77%, 58%)
HSVhsv(73, 71%, 91%)
CMYKcmyk(16%, 0%, 71.4%, 9.4%)
CIE-LABlab(86.51, -33.42, 71.77)
CIE-LCHlch(86.51, 79.17, 114.97°)
OKLaboklab(87.23% -0.0981 0.1598)
OKLCHoklch(87.23% 0.188 121.5)
XYZxyz(51.8082, 69.0145, 15.7450)
Luminance0.6902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E742 #6742E7
analogous
#E7BA42 #C2E742 #6FE742
triadic
#C2E742 #42C2E7 #E742C2
tetradic
#C2E742 #42E7BA #6742E7 #E7426F
square
#C2E742 #42E7BA #6742E7 #E7426F
split-complementary
#C2E742 #426FE7 #BA42E7
monochromatic
#7D9B14 #A8D11B #C2E742 #D4EE78 #E5F5AF

Accessibility & contrast

On white

1.42
#C2E742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#C2E742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E742
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E742#FFFFFF#000000##000000
##C2E7421.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D923
Deuteranopia (green-blind)
#F0D950
Tritanopia (blue-blind)
#CCDBC7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c2e742;
/* rgb */ color: rgb(194, 231, 66);
/* oklch */ color: oklch(87.2% 0.188 121.5);
Tailwind
colors: {
  custom: {
    50: '#d8ee81',
    500: '#c2e742',
    950: '#000000',
  },
}
SCSS
$custom: #c2e742;
$custom-light: #d8ee81;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e742",
  "rgb": {
    "r": 194,
    "g": 231,
    "b": 66
  },
  "hsl": {
    "h": 73.455,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.87231,
    "c": 0.18756,
    "h": 121.5
  },
  "luminance": 0.69015
}

Semantic roles & 50–950 ramp

primary
#C2E742
secondary
#482F9E
accent
#34F45F
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C2E742

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

Preview Lab → · Contrast checker → · Palette generator →

#C2E742 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva