#CCFD98#CCFD98

#CCFD98 is a very light, vivid yellow-green. Relative luminance 0.854; OKLCH L 93.7% C 0.138 H 129.8°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#CCFD98
RGBrgb(204, 253, 152)
HSLhsl(89, 96%, 79%)
HSVhsv(89, 40%, 99%)
CMYKcmyk(19.4%, 0%, 39.9%, 0.8%)
CIE-LABlab(94.04, -32.21, 43.31)
CIE-LCHlch(94.04, 53.97, 126.64°)
OKLaboklab(93.73% -0.0885 0.1061)
OKLCHoklch(93.73% 0.138 129.8)
XYZxyz(65.6937, 85.3538, 42.7136)
Luminance0.8536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFD98 #C998FD
analogous
#FDFB98 #CCFD98 #9AFD98
triadic
#CCFD98 #98CCFD #FD98CC
tetradic
#CCFD98 #98FDFB #C998FD #FD989A
square
#CCFD98 #98FDFB #C998FD #FD989A
split-complementary
#CCFD98 #989AFD #FB98FD
monochromatic
#91FB20 #AEFC5C #CCFD98 #EAFED4 #F0FEE1

Accessibility & contrast

On white

1.16
#CCFD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#CCFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFD98
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFD98#FFFFFF#000000##000000
##CCFD981.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF090
Deuteranopia (green-blind)
#FFED9D
Tritanopia (blue-blind)
#CFF5E4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ccfd98;
/* rgb */ color: rgb(204, 253, 152);
/* oklch */ color: oklch(93.7% 0.138 129.8);
Tailwind
colors: {
  custom: {
    50: '#ddfeb7',
    500: '#ccfd98',
    950: '#000000',
  },
}
SCSS
$custom: #ccfd98;
$custom-light: #ddfeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfd98",
  "rgb": {
    "r": 204,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 89.109,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93733,
    "c": 0.13818,
    "h": 129.8
  },
  "luminance": 0.85355
}

Semantic roles & 50–950 ramp

primary
#CCFD98
secondary
#9B5ADF
accent
#00E66F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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