#C2E952#C2E952

#C2E952 is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 87.8% C 0.179 H 122.6°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#C2E952
RGBrgb(194, 233, 82)
HSLhsl(75, 77%, 62%)
HSVhsv(75, 65%, 91%)
CMYKcmyk(16.7%, 0%, 64.8%, 8.6%)
CIE-LABlab(87.17, -33.39, 66.57)
CIE-LCHlch(87.17, 74.47, 116.64°)
OKLaboklab(87.8% -0.0967 0.1513)
OKLCHoklch(87.8% 0.18 122.6)
XYZxyz(52.9106, 70.3562, 18.7736)
Luminance0.7036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E952 #7952E9
analogous
#E9C552 #C2E952 #77E952
triadic
#C2E952 #52C2E9 #E952C2
tetradic
#C2E952 #52E9C5 #7952E9 #E95277
square
#C2E952 #52E9C5 #7952E9 #E95277
split-complementary
#C2E952 #5277E9 #C552E9
monochromatic
#84AB16 #AEE11D #C2E952 #D5F088 #E8F7BF

Accessibility & contrast

On white

1.39
#C2E952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#C2E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E952
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E952#FFFFFF#000000##000000
##C2E9521.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#CBDECA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c2e952;
/* rgb */ color: rgb(194, 233, 82);
/* oklch */ color: oklch(87.8% 0.179 122.6);
Tailwind
colors: {
  custom: {
    50: '#d8f08a',
    500: '#c2e952',
    950: '#000000',
  },
}
SCSS
$custom: #c2e952;
$custom-light: #d8f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e952",
  "rgb": {
    "r": 194,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 75.497,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87798,
    "c": 0.1795,
    "h": 122.6
  },
  "luminance": 0.70356
}

Semantic roles & 50–950 ramp

primary
#C2E952
secondary
#5233AC
accent
#0CDA41
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C2E952

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

Preview Lab → · Contrast checker → · Palette generator →

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