#CCFA98#CCFA98

#CCFA98 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.1% C 0.134 H 129.2°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#CCFA98
RGBrgb(204, 250, 152)
HSLhsl(88, 91%, 79%)
HSVhsv(88, 39%, 98%)
CMYKcmyk(18.4%, 0%, 39.2%, 2%)
CIE-LABlab(93.22, -30.82, 42.26)
CIE-LCHlch(93.22, 52.31, 126.10°)
OKLaboklab(93.08% -0.0846 0.1037)
OKLCHoklch(93.08% 0.134 129.2)
XYZxyz(64.7541, 83.4746, 42.4003)
Luminance0.8348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA98 #C698FA
analogous
#FAF798 #CCFA98 #9BFA98
triadic
#CCFA98 #98CCFA #FA98CC
tetradic
#CCFA98 #98FAF7 #C698FA #FA989B
square
#CCFA98 #98FAF7 #C698FA #FA989B
split-complementary
#CCFA98 #989BFA #F798FA
monochromatic
#92F423 #AFF75E #CCFA98 #E9FDD2 #F1FEE2

Accessibility & contrast

On white

1.19
#CCFA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#CCFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA98
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA98#FFFFFF#000000##000000
##CCFA981.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FCEB9D
Tritanopia (blue-blind)
#D0F2E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccfa98;
/* rgb */ color: rgb(204, 250, 152);
/* oklch */ color: oklch(93.1% 0.134 129.2);
Tailwind
colors: {
  custom: {
    50: '#ddfcb7',
    500: '#ccfa98',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa98;
$custom-light: #ddfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa98",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 88.163,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93079,
    "c": 0.13386,
    "h": 129.2
  },
  "luminance": 0.83476
}

Semantic roles & 50–950 ramp

primary
#CCFA98
secondary
#975CDB
accent
#00E66C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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