#CCF8A4#CCF8A4

#CCF8A4 is a very light, moderate yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.118 H 130.9°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#CCF8A4
RGBrgb(204, 248, 164)
HSLhsl(91, 86%, 81%)
HSVhsv(91, 34%, 97%)
CMYKcmyk(17.7%, 0%, 33.9%, 2.7%)
CIE-LABlab(92.86, -28.33, 35.86)
CIE-LCHlch(92.86, 45.71, 128.31°)
OKLaboklab(92.85% -0.0772 0.0893)
OKLCHoklch(92.85% 0.118 130.9)
XYZxyz(65.1689, 82.6515, 47.6347)
Luminance0.8265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF8A4 #D0A4F8
analogous
#F6F8A4 #CCF8A4 #A4F8A6
triadic
#CCF8A4 #A4CCF8 #F8A4CC
tetradic
#CCF8A4 #A4F6F8 #D0A4F8 #F8A6A4
square
#CCF8A4 #A4F6F8 #D0A4F8 #F8A6A4
split-complementary
#CCF8A4 #A6A4F8 #F8A4F6
monochromatic
#8CEF32 #ACF46B #CCF8A4 #ECFCDD #EFFDE3

Accessibility & contrast

On white

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

On black

17.53
#CCF8A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF8A4
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF8A4#FFFFFF#000000##000000
##CCF8A41.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED9E
Deuteranopia (green-blind)
#F9E9A8
Tritanopia (blue-blind)
#CEF1E3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf8a4;
/* rgb */ color: rgb(204, 248, 164);
/* oklch */ color: oklch(92.8% 0.118 130.9);
Tailwind
colors: {
  custom: {
    50: '#dcfabf',
    500: '#ccf8a4',
    950: '#000000',
  },
}
SCSS
$custom: #ccf8a4;
$custom-light: #dcfabf;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf8a4",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 164
  },
  "hsl": {
    "h": 91.429,
    "s": 85.714,
    "l": 80.784
  },
  "oklch": {
    "l": 0.92848,
    "c": 0.11801,
    "h": 130.9
  },
  "luminance": 0.82653
}

Semantic roles & 50–950 ramp

primary
#CCF8A4
secondary
#A367D9
accent
#03E278
background
#FEFFFD
surface
#FCFFF9
border
#D5D7D2
text
#151712
muted
#848582

Preview Lab

Preview with #CCF8A4

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

Preview Lab → · Contrast checker → · Palette generator →

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