#C2E252#C2E252

#C2E252 is a very light, vivid yellow-green. Relative luminance 0.665; OKLCH L 86.2% C 0.171 H 120.8°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#C2E252
RGBrgb(194, 226, 82)
HSLhsl(73, 71%, 60%)
HSVhsv(73, 64%, 89%)
CMYKcmyk(14.2%, 0%, 63.7%, 11.4%)
CIE-LABlab(85.24, -30.15, 64.52)
CIE-LCHlch(85.24, 71.22, 115.04°)
OKLaboklab(86.24% -0.0877 0.147)
OKLCHoklch(86.24% 0.171 120.8)
XYZxyz(50.9682, 66.4713, 18.1262)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E252 #7252E2
analogous
#E2BA52 #C2E252 #7AE252
triadic
#C2E252 #52C2E2 #E252C2
tetradic
#C2E252 #52E2BA #7252E2 #E2527A
square
#C2E252 #52E2BA #7252E2 #E2527A
split-complementary
#C2E252 #527AE2 #BA52E2
monochromatic
#829F1B #ACD323 #C2E252 #D4EB86 #E7F4BB

Accessibility & contrast

On white

1.47
#C2E252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#C2E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E252
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E252#FFFFFF#000000##000000
##C2E2521.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53F
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#CCD7C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c2e252;
/* rgb */ color: rgb(194, 226, 82);
/* oklch */ color: oklch(86.2% 0.171 120.8);
Tailwind
colors: {
  custom: {
    50: '#d7eb89',
    500: '#c2e252',
    950: '#000000',
  },
}
SCSS
$custom: #c2e252;
$custom-light: #d7eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e252",
  "rgb": {
    "r": 194,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 73.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86238,
    "c": 0.17111,
    "h": 120.8
  },
  "luminance": 0.66471
}

Semantic roles & 50–950 ramp

primary
#C2E252
secondary
#4E36A2
accent
#12D33D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C2E252

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

Preview Lab → · Contrast checker → · Palette generator →

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