#CCFE98#CCFE98

#CCFE98 is a very light, vivid yellow-green. Relative luminance 0.860; OKLCH L 94.0% C 0.140 H 130.0°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#CCFE98
RGBrgb(204, 254, 152)
HSLhsl(89, 98%, 80%)
HSVhsv(89, 40%, 100%)
CMYKcmyk(19.7%, 0%, 40.2%, 0.4%)
CIE-LABlab(94.31, -32.67, 43.66)
CIE-LCHlch(94.31, 54.53, 126.81°)
OKLaboklab(93.95% -0.0898 0.1069)
OKLCHoklch(93.95% 0.14 130)
XYZxyz(66.0102, 85.9869, 42.8191)
Luminance0.8599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFE98 #CA98FE
analogous
#FEFD98 #CCFE98 #99FE98
triadic
#CCFE98 #98CCFE #FE98CC
tetradic
#CCFE98 #98FEFD #CA98FE #FE9899
square
#CCFE98 #98FEFD #CA98FE #FE9899
split-complementary
#CCFE98 #9899FE #FD98FE
monochromatic
#90FD1F #AEFD5B #CCFE98 #EAFFD5 #F0FFE1

Accessibility & contrast

On white

1.15
#CCFE98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#CCFE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFE98
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFE98#FFFFFF#000000##000000
##CCFE981.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF190
Deuteranopia (green-blind)
#FFED9E
Tritanopia (blue-blind)
#CFF6E5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ccfe98;
/* rgb */ color: rgb(204, 254, 152);
/* oklch */ color: oklch(94.0% 0.140 130.0);
Tailwind
colors: {
  custom: {
    50: '#ddffb7',
    500: '#ccfe98',
    950: '#000000',
  },
}
SCSS
$custom: #ccfe98;
$custom-light: #ddffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfe98",
  "rgb": {
    "r": 204,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 89.412,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.93951,
    "c": 0.13961,
    "h": 130
  },
  "luminance": 0.85988
}

Semantic roles & 50–950 ramp

primary
#CCFE98
secondary
#9C5AE0
accent
#00E671
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CCFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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