#C2FF52#C2FF52

#C2FF52 is a very light, highly saturated yellow-green. Relative luminance 0.836; OKLCH L 92.7% C 0.206 H 126.9°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#C2FF52
RGBrgb(194, 255, 82)
HSLhsl(81, 100%, 66%)
HSVhsv(81, 68%, 100%)
CMYKcmyk(23.9%, 0%, 67.8%, 0%)
CIE-LABlab(93.28, -43.22, 72.89)
CIE-LCHlch(93.28, 84.74, 120.66°)
OKLaboklab(92.73% -0.1237 0.1645)
OKLCHoklch(92.73% 0.206 126.9)
XYZxyz(59.5313, 83.5975, 20.9805)
Luminance0.8360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2FF52 #8F52FF
analogous
#FFE552 #C2FF52 #6BFF52
triadic
#C2FF52 #52C2FF #FF52C2
tetradic
#C2FF52 #52FFE5 #8F52FF #FF526B
square
#C2FF52 #52FFE5 #8F52FF #FF526B
split-complementary
#C2FF52 #526BFF #E552FF
monochromatic
#8BD700 #ACFF15 #C2FF52 #D8FF8F #EDFFCC

Accessibility & contrast

On white

1.19
#C2FF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#C2FF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2FF52
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2FF52#FFFFFF#000000##000000
##C2FF521.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE37
Deuteranopia (green-blind)
#FFEB61
Tritanopia (blue-blind)
#C9F4DD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #c2ff52;
/* rgb */ color: rgb(194, 255, 82);
/* oklch */ color: oklch(92.7% 0.206 126.9);
Tailwind
colors: {
  custom: {
    50: '#d8ff8c',
    500: '#c2ff52',
    950: '#000000',
  },
}
SCSS
$custom: #c2ff52;
$custom-light: #d8ff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ff52",
  "rgb": {
    "r": 194,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 81.156,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92734,
    "c": 0.20588,
    "h": 126.9
  },
  "luminance": 0.83599
}

Semantic roles & 50–950 ramp

primary
#C2FF52
secondary
#6125D0
accent
#00E651
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15180D
muted
#84867F

Preview Lab

Preview with #C2FF52

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

Preview Lab → · Contrast checker → · Palette generator →

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