#CCFC98#CCFC98

#CCFC98 is a very light, vivid yellow-green. Relative luminance 0.847; OKLCH L 93.5% C 0.137 H 129.6°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#CCFC98
RGBrgb(204, 252, 152)
HSLhsl(89, 94%, 79%)
HSVhsv(89, 40%, 99%)
CMYKcmyk(19%, 0%, 39.7%, 1.2%)
CIE-LABlab(93.76, -31.75, 42.96)
CIE-LCHlch(93.76, 53.42, 126.47°)
OKLaboklab(93.52% -0.0872 0.1053)
OKLCHoklch(93.52% 0.137 129.6)
XYZxyz(65.3789, 84.7241, 42.6086)
Luminance0.8472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFC98 #C898FC
analogous
#FCFA98 #CCFC98 #9AFC98
triadic
#CCFC98 #98CCFC #FC98CC
tetradic
#CCFC98 #98FCFA #C898FC #FC989A
square
#CCFC98 #98FCFA #C898FC #FC989A
split-complementary
#CCFC98 #989AFC #FA98FC
monochromatic
#91F921 #AFFA5D #CCFC98 #E9FED3 #F0FEE1

Accessibility & contrast

On white

1.17
#CCFC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#CCFC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFC98
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFC98#FFFFFF#000000##000000
##CCFC981.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FEEC9D
Tritanopia (blue-blind)
#CFF4E3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ccfc98;
/* rgb */ color: rgb(204, 252, 152);
/* oklch */ color: oklch(93.5% 0.137 129.6);
Tailwind
colors: {
  custom: {
    50: '#ddfdb7',
    500: '#ccfc98',
    950: '#000000',
  },
}
SCSS
$custom: #ccfc98;
$custom-light: #ddfdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfc98",
  "rgb": {
    "r": 204,
    "g": 252,
    "b": 152
  },
  "hsl": {
    "h": 88.8,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93515,
    "c": 0.13674,
    "h": 129.6
  },
  "luminance": 0.84725
}

Semantic roles & 50–950 ramp

primary
#CCFC98
secondary
#995BDD
accent
#00E66E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCFC98

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

Preview Lab → · Contrast checker → · Palette generator →

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