#CCFAB2#CCFAB2

#CCFAB2 is a very light, moderate yellow-green. Relative luminance 0.844; OKLCH L 93.5% C 0.106 H 134.6°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#CCFAB2
RGBrgb(204, 250, 178)
HSLhsl(98, 88%, 84%)
HSVhsv(98, 29%, 98%)
CMYKcmyk(18.4%, 0%, 28.8%, 2%)
CIE-LABlab(93.63, -27.30, 29.87)
CIE-LCHlch(93.63, 40.46, 132.43°)
OKLaboklab(93.54% -0.0741 0.0753)
OKLCHoklch(93.54% 0.106 134.6)
XYZxyz(67.1217, 84.4217, 54.8695)
Luminance0.8442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFAB2 #E0B2FA
analogous
#F0FAB2 #CCFAB2 #B2FABC
triadic
#CCFAB2 #B2CCFA #FAB2CC
tetradic
#CCFAB2 #B2F0FA #E0B2FA #FABCB2
square
#CCFAB2 #B2F0FA #E0B2FA #FABCB2
split-complementary
#CCFAB2 #BCB2FA #FAB2F0
monochromatic
#80F33F #A6F679 #CCFAB2 #ECFDE2 #ECFDE2

Accessibility & contrast

On white

1.17
#CCFAB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#CCFAB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFAB2
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFAB2#FFFFFF#000000##000000
##CCFAB21.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEFAD
Deuteranopia (green-blind)
#F9EBB6
Tritanopia (blue-blind)
#CCF4E7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ccfab2;
/* rgb */ color: rgb(204, 250, 178);
/* oklch */ color: oklch(93.5% 0.106 134.6);
Tailwind
colors: {
  custom: {
    50: '#dcfcc9',
    500: '#ccfab2',
    950: '#000000',
  },
}
SCSS
$custom: #ccfab2;
$custom-light: #dcfcc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfab2",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 178
  },
  "hsl": {
    "h": 98.333,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.93544,
    "c": 0.10563,
    "h": 134.6
  },
  "luminance": 0.84423
}

Semantic roles & 50–950 ramp

primary
#CCFAB2
secondary
#B773DE
accent
#01E492
background
#FEFFFD
surface
#FCFFF9
border
#D5D7D2
text
#151713
muted
#848582

Preview Lab

Preview with #CCFAB2

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

Preview Lab → · Contrast checker → · Palette generator →

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