#CCFE02#CCFE02

#CCFE02 is a very light, highly saturated yellow-green. Relative luminance 0.837; OKLCH L 92.8% C 0.227 H 122.9°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#CCFE02
RGBrgb(204, 254, 2)
HSLhsl(72, 99%, 50%)
HSVhsv(72, 99%, 100%)
CMYKcmyk(19.7%, 0%, 99.2%, 0.4%)
CIE-LABlab(93.33, -41.49, 89.92)
CIE-LCHlch(93.33, 99.03, 114.77°)
OKLaboklab(92.85% -0.1235 0.1909)
OKLCHoklch(92.85% 0.227 122.9)
XYZxyz(60.3556, 83.7250, 13.0383)
Luminance0.8373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFE02 #3402FE
analogous
#FEB202 #CCFE02 #4EFE02
triadic
#CCFE02 #02CCFE #FE02CC
tetradic
#CCFE02 #02FEB2 #3402FE #FE024E
square
#CCFE02 #02FEB2 #3402FE #FE024E
split-complementary
#CCFE02 #024EFE #B202FE
monochromatic
#6B8501 #9CC201 #CCFE02 #D8FE3F #E5FE7C

Accessibility & contrast

On white

1.18
#CCFE02 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#CCFE02 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFE02
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFE02#FFFFFF#000000##000000
##CCFE021.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED00
Deuteranopia (green-blind)
#FFEC35
Tritanopia (blue-blind)
#D7F0D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ccfe02;
/* rgb */ color: rgb(204, 254, 2);
/* oklch */ color: oklch(92.8% 0.227 122.9);
Tailwind
colors: {
  custom: {
    50: '#e1fe72',
    500: '#ccfe02',
    950: '#000000',
  },
}
SCSS
$custom: #ccfe02;
$custom-light: #e1fe72;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfe02",
  "rgb": {
    "r": 204,
    "g": 254,
    "b": 2
  },
  "hsl": {
    "h": 71.905,
    "s": 99.213,
    "l": 50.196
  },
  "oklch": {
    "l": 0.92849,
    "c": 0.22735,
    "h": 122.9
  },
  "luminance": 0.83725
}

Semantic roles & 50–950 ramp

primary
#CCFE02
secondary
#30198B
accent
#29FF53
background
#FFFFFB
surface
#FEFFF1
border
#D6D7CB
text
#16170A
muted
#85857D

Preview Lab

Preview with #CCFE02

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

Preview Lab → · Contrast checker → · Palette generator →

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