#CCF88C#CCF88C

#CCF88C is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.5% C 0.143 H 127.1°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#CCF88C
RGBrgb(204, 248, 140)
HSLhsl(84, 89%, 76%)
HSVhsv(84, 44%, 97%)
CMYKcmyk(17.7%, 0%, 43.5%, 2.7%)
CIE-LABlab(92.52, -31.32, 47.18)
CIE-LCHlch(92.52, 56.63, 123.58°)
OKLaboklab(92.46% -0.0866 0.1144)
OKLCHoklch(92.46% 0.144 127.1)
XYZxyz(63.2024, 81.8649, 37.2776)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF88C #B88CF8
analogous
#F8EE8C #CCF88C #96F88C
triadic
#CCF88C #8CCCF8 #F88CCC
tetradic
#CCF88C #8CF8EE #B88CF8 #F88C96
square
#CCF88C #8CF8EE #B88CF8 #F88C96
split-complementary
#CCF88C #8C96F8 #EE8CF8
monochromatic
#99F119 #B2F452 #CCF88C #E6FCC6 #F2FDE2

Accessibility & contrast

On white

1.21
#CCF88C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#CCF88C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF88C
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF88C#FFFFFF#000000##000000
##CCF88C1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB83
Deuteranopia (green-blind)
#FCE992
Tritanopia (blue-blind)
#D1EFDE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf88c;
/* rgb */ color: rgb(204, 248, 140);
/* oklch */ color: oklch(92.5% 0.143 127.1);
Tailwind
colors: {
  custom: {
    50: '#ddfaaf',
    500: '#ccf88c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf88c;
$custom-light: #ddfaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf88c",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 140
  },
  "hsl": {
    "h": 84.444,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92457,
    "c": 0.1435,
    "h": 127.1
  },
  "luminance": 0.81866
}

Semantic roles & 50–950 ramp

primary
#CCF88C
secondary
#8852D6
accent
#00E55E
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF88C

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

Preview Lab → · Contrast checker → · Palette generator →

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