#CCF8A2#CCF8A2

#CCF8A2 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.8% C 0.120 H 130.5°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#CCF8A2
RGBrgb(204, 248, 162)
HSLhsl(91, 86%, 80%)
HSVhsv(91, 35%, 97%)
CMYKcmyk(17.7%, 0%, 34.7%, 2.7%)
CIE-LABlab(92.83, -28.60, 36.82)
CIE-LCHlch(92.83, 46.62, 127.84°)
OKLaboklab(92.81% -0.078 0.0914)
OKLCHoklch(92.81% 0.12 130.5)
XYZxyz(64.9897, 82.5798, 46.6909)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF8A2 #CEA2F8
analogous
#F7F8A2 #CCF8A2 #A2F8A3
triadic
#CCF8A2 #A2CCF8 #F8A2CC
tetradic
#CCF8A2 #A2F7F8 #CEA2F8 #F8A3A2
square
#CCF8A2 #A2F7F8 #CEA2F8 #F8A3A2
split-complementary
#CCF8A2 #A3A2F8 #F8A2F7
monochromatic
#8EEF30 #ADF469 #CCF8A2 #EBFCDB #EFFDE3

Accessibility & contrast

On white

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

On black

17.52
#CCF8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF8A2
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF8A2#FFFFFF#000000##000000
##CCF8A21.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED9C
Deuteranopia (green-blind)
#F9E9A6
Tritanopia (blue-blind)
#CFF1E2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf8a2;
/* rgb */ color: rgb(204, 248, 162);
/* oklch */ color: oklch(92.8% 0.120 130.5);
Tailwind
colors: {
  custom: {
    50: '#dcfabe',
    500: '#ccf8a2',
    950: '#000000',
  },
}
SCSS
$custom: #ccf8a2;
$custom-light: #dcfabe;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf8a2",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 162
  },
  "hsl": {
    "h": 90.698,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.92813,
    "c": 0.12019,
    "h": 130.5
  },
  "luminance": 0.82581
}

Semantic roles & 50–950 ramp

primary
#CCF8A2
secondary
#A065D9
accent
#03E375
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #CCF8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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