#CCFB98#CCFB98

#CCFB98 is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.3% C 0.135 H 129.4°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#CCFB98
RGBrgb(204, 251, 152)
HSLhsl(88, 93%, 79%)
HSVhsv(88, 39%, 98%)
CMYKcmyk(18.7%, 0%, 39.4%, 1.6%)
CIE-LABlab(93.49, -31.29, 42.61)
CIE-LCHlch(93.49, 52.87, 126.29°)
OKLaboklab(93.3% -0.0859 0.1045)
OKLCHoklch(93.3% 0.135 129.4)
XYZxyz(65.0657, 84.0977, 42.5042)
Luminance0.8410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFB98 #C798FB
analogous
#FBF998 #CCFB98 #9BFB98
triadic
#CCFB98 #98CCFB #FB98CC
tetradic
#CCFB98 #98FBF9 #C798FB #FB989B
square
#CCFB98 #98FBF9 #C798FB #FB989B
split-complementary
#CCFB98 #989BFB #F998FB
monochromatic
#92F622 #AFF95D #CCFB98 #E9FDD3 #F0FEE2

Accessibility & contrast

On white

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

On black

17.82
#CCFB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFB98
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFB98#FFFFFF#000000##000000
##CCFB981.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FDEB9D
Tritanopia (blue-blind)
#D0F3E3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ccfb98;
/* rgb */ color: rgb(204, 251, 152);
/* oklch */ color: oklch(93.3% 0.135 129.4);
Tailwind
colors: {
  custom: {
    50: '#ddfcb7',
    500: '#ccfb98',
    950: '#000000',
  },
}
SCSS
$custom: #ccfb98;
$custom-light: #ddfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfb98",
  "rgb": {
    "r": 204,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 88.485,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93296,
    "c": 0.1353,
    "h": 129.4
  },
  "luminance": 0.84099
}

Semantic roles & 50–950 ramp

primary
#CCFB98
secondary
#985BDC
accent
#00E66D
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCFB98

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

Preview Lab → · Contrast checker → · Palette generator →

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