#CCF2AF#CCF2AF

#CCF2AF is a very light, moderate yellow-green. Relative luminance 0.794; OKLCH L 91.8% C 0.097 H 132.1°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#CCF2AF
RGBrgb(204, 242, 175)
HSLhsl(94, 72%, 82%)
HSVhsv(94, 28%, 95%)
CMYKcmyk(15.7%, 0%, 27.7%, 5.1%)
CIE-LABlab(91.43, -23.93, 28.41)
CIE-LCHlch(91.43, 37.14, 130.11°)
OKLaboklab(91.76% -0.0648 0.0717)
OKLCHoklch(91.76% 0.097 132.1)
XYZxyz(64.3904, 79.4359, 52.4894)
Luminance0.7944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF2AF #D5AFF2
analogous
#EEF2AF #CCF2AF #AFF2B4
triadic
#CCF2AF #AFCCF2 #F2AFCC
tetradic
#CCF2AF #AFEEF2 #D5AFF2 #F2B4AF
square
#CCF2AF #AFEEF2 #D5AFF2 #F2B4AF
split-complementary
#CCF2AF #B4AFF2 #F2AFEE
monochromatic
#89E146 #AAE97A #CCF2AF #EEFBE4 #EEFBE5

Accessibility & contrast

On white

1.24
#CCF2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#CCF2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF2AF
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF2AF#FFFFFF#000000##000000
##CCF2AF1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E8AB
Deuteranopia (green-blind)
#F2E5B2
Tritanopia (blue-blind)
#CDECE0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf2af;
/* rgb */ color: rgb(204, 242, 175);
/* oklch */ color: oklch(91.8% 0.097 132.1);
Tailwind
colors: {
  custom: {
    50: '#dcf6c7',
    500: '#ccf2af',
    950: '#000000',
  },
}
SCSS
$custom: #ccf2af;
$custom-light: #dcf6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf2af",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 175
  },
  "hsl": {
    "h": 94.03,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.91763,
    "c": 0.09662,
    "h": 132.1
  },
  "luminance": 0.79437
}

Semantic roles & 50–950 ramp

primary
#CCF2AF
secondary
#A974D1
accent
#11D480
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151713
muted
#848582

Preview Lab

Preview with #CCF2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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