#CCF8A8#CCF8A8

#CCF8A8 is a very light, moderate yellow-green. Relative luminance 0.828; OKLCH L 92.9% C 0.114 H 131.7°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#CCF8A8
RGBrgb(204, 248, 168)
HSLhsl(93, 85%, 82%)
HSVhsv(93, 32%, 97%)
CMYKcmyk(17.7%, 0%, 32.3%, 2.7%)
CIE-LABlab(92.93, -27.79, 33.95)
CIE-LCHlch(92.93, 43.87, 129.30°)
OKLaboklab(92.92% -0.0756 0.0848)
OKLCHoklch(92.92% 0.114 131.7)
XYZxyz(65.5358, 82.7983, 49.5671)
Luminance0.8280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF8A8 #D4A8F8
analogous
#F4F8A8 #CCF8A8 #A8F8AC
triadic
#CCF8A8 #A8CCF8 #F8A8CC
tetradic
#CCF8A8 #A8F4F8 #D4A8F8 #F8ACA8
square
#CCF8A8 #A8F4F8 #D4A8F8 #F8ACA8
split-complementary
#CCF8A8 #ACA8F8 #F8A8F4
monochromatic
#8AEF37 #ABF36F #CCF8A8 #EDFDE1 #EEFDE3

Accessibility & contrast

On white

1.20
#CCF8A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#CCF8A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF8A8
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF8A8#FFFFFF#000000##000000
##CCF8A81.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEDA3
Deuteranopia (green-blind)
#F8EAAC
Tritanopia (blue-blind)
#CEF2E3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccf8a8;
/* rgb */ color: rgb(204, 248, 168);
/* oklch */ color: oklch(92.9% 0.114 131.7);
Tailwind
colors: {
  custom: {
    50: '#dcfac2',
    500: '#ccf8a8',
    950: '#000000',
  },
}
SCSS
$custom: #ccf8a8;
$custom-light: #dcfac2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf8a8",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 168
  },
  "hsl": {
    "h": 93,
    "s": 85.106,
    "l": 81.569
  },
  "oklch": {
    "l": 0.92921,
    "c": 0.11361,
    "h": 131.7
  },
  "luminance": 0.82799
}

Semantic roles & 50–950 ramp

primary
#CCF8A8
secondary
#A86BD9
accent
#04E27E
background
#FEFFFD
surface
#FCFFF9
border
#D5D7D2
text
#151712
muted
#848582

Preview Lab

Preview with #CCF8A8

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

Preview Lab → · Contrast checker → · Palette generator →

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