#CCF8A6#CCF8A6

#CCF8A6 is a very light, moderate yellow-green. Relative luminance 0.827; OKLCH L 92.9% C 0.116 H 131.3°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#CCF8A6
RGBrgb(204, 248, 166)
HSLhsl(92, 85%, 81%)
HSVhsv(92, 33%, 97%)
CMYKcmyk(17.7%, 0%, 33.1%, 2.7%)
CIE-LABlab(92.89, -28.06, 34.91)
CIE-LCHlch(92.89, 44.79, 128.79°)
OKLaboklab(92.88% -0.0764 0.087)
OKLCHoklch(92.88% 0.116 131.3)
XYZxyz(65.3510, 82.7243, 48.5934)
Luminance0.8273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF8A6 #D2A6F8
analogous
#F5F8A6 #CCF8A6 #A6F8A9
triadic
#CCF8A6 #A6CCF8 #F8A6CC
tetradic
#CCF8A6 #A6F5F8 #D2A6F8 #F8A9A6
square
#CCF8A6 #A6F5F8 #D2A6F8 #F8A9A6
split-complementary
#CCF8A6 #A9A6F8 #F8A6F5
monochromatic
#8BEF35 #ABF46D #CCF8A6 #EDFCDF #EFFDE3

Accessibility & contrast

On white

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

On black

17.55
#CCF8A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF8A6
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF8A6#FFFFFF#000000##000000
##CCF8A61.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEDA0
Deuteranopia (green-blind)
#F8E9AA
Tritanopia (blue-blind)
#CEF1E3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccf8a6;
/* rgb */ color: rgb(204, 248, 166);
/* oklch */ color: oklch(92.9% 0.116 131.3);
Tailwind
colors: {
  custom: {
    50: '#dcfac1',
    500: '#ccf8a6',
    950: '#000000',
  },
}
SCSS
$custom: #ccf8a6;
$custom-light: #dcfac1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf8a6",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 166
  },
  "hsl": {
    "h": 92.195,
    "s": 85.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.92884,
    "c": 0.11581,
    "h": 131.3
  },
  "luminance": 0.82725
}

Semantic roles & 50–950 ramp

primary
#CCF8A6
secondary
#A569D9
accent
#04E27B
background
#FEFFFD
surface
#FCFFF9
border
#D5D7D2
text
#151712
muted
#848582

Preview Lab

Preview with #CCF8A6

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

Preview Lab → · Contrast checker → · Palette generator →

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