#C2E042#C2E042

#C2E042 is a very light, vivid yellow-green. Relative luminance 0.652; OKLCH L 85.7% C 0.180 H 119.8°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#C2E042
RGBrgb(194, 224, 66)
HSLhsl(71, 72%, 57%)
HSVhsv(71, 71%, 88%)
CMYKcmyk(13.4%, 0%, 70.5%, 12.2%)
CIE-LABlab(84.57, -30.18, 69.87)
CIE-LCHlch(84.57, 76.11, 113.36°)
OKLaboklab(85.67% -0.0892 0.1558)
OKLCHoklch(85.67% 0.18 119.8)
XYZxyz(49.8881, 65.1742, 15.1049)
Luminance0.6517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E042 #6042E0
analogous
#E0AF42 #C2E042 #73E042
triadic
#C2E042 #42C2E0 #E042C2
tetradic
#C2E042 #42E0AF #6042E0 #E04273
square
#C2E042 #42E0AF #6042E0 #E04273
split-complementary
#C2E042 #4273E0 #AF42E0
monochromatic
#799018 #A5C520 #C2E042 #D3E977 #E4F1AB

Accessibility & contrast

On white

1.50
#C2E042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#C2E042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E042
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E042#FFFFFF#000000##000000
##C2E0421.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED326
Deuteranopia (green-blind)
#EBD44F
Tritanopia (blue-blind)
#CDD4C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c2e042;
/* rgb */ color: rgb(194, 224, 66);
/* oklch */ color: oklch(85.7% 0.180 119.8);
Tailwind
colors: {
  custom: {
    50: '#d8e980',
    500: '#c2e042',
    950: '#000000',
  },
}
SCSS
$custom: #c2e042;
$custom-light: #d8e980;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e042",
  "rgb": {
    "r": 194,
    "g": 224,
    "b": 66
  },
  "hsl": {
    "h": 71.392,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85669,
    "c": 0.17957,
    "h": 119.8
  },
  "luminance": 0.65174
}

Semantic roles & 50–950 ramp

primary
#C2E042
secondary
#443195
accent
#39EF5C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C2E042

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

Preview Lab → · Contrast checker → · Palette generator →

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