#CCF8A5#CCF8A5

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

Color values

HEX#CCF8A5
RGBrgb(204, 248, 165)
HSLhsl(92, 86%, 81%)
HSVhsv(92, 33%, 97%)
CMYKcmyk(17.7%, 0%, 33.5%, 2.7%)
CIE-LABlab(92.88, -28.20, 35.39)
CIE-LCHlch(92.88, 45.25, 128.55°)
OKLaboklab(92.87% -0.0768 0.0881)
OKLCHoklch(92.87% 0.117 131.1)
XYZxyz(65.2596, 82.6878, 48.1122)
Luminance0.8269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF8A5 #D1A5F8
analogous
#F6F8A5 #CCF8A5 #A5F8A7
triadic
#CCF8A5 #A5CCF8 #F8A5CC
tetradic
#CCF8A5 #A5F6F8 #D1A5F8 #F8A7A5
square
#CCF8A5 #A5F6F8 #D1A5F8 #F8A7A5
split-complementary
#CCF8A5 #A7A5F8 #F8A5F6
monochromatic
#8CEF33 #ACF46C #CCF8A5 #ECFCDE #EFFDE3

Accessibility & contrast

On white

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

On black

17.54
#CCF8A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF8A5
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF8A5#FFFFFF#000000##000000
##CCF8A51.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf8a5;
/* rgb */ color: rgb(204, 248, 165);
/* oklch */ color: oklch(92.9% 0.117 131.1);
Tailwind
colors: {
  custom: {
    50: '#dcfac0',
    500: '#ccf8a5',
    950: '#000000',
  },
}
SCSS
$custom: #ccf8a5;
$custom-light: #dcfac0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf8a5",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 165
  },
  "hsl": {
    "h": 91.807,
    "s": 85.567,
    "l": 80.98
  },
  "oklch": {
    "l": 0.92866,
    "c": 0.11691,
    "h": 131.1
  },
  "luminance": 0.82689
}

Semantic roles & 50–950 ramp

primary
#CCF8A5
secondary
#A468D9
accent
#03E279
background
#FEFFFD
surface
#FCFFF9
border
#D5D7D2
text
#151712
muted
#848582

Preview Lab

Preview with #CCF8A5

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

Preview Lab → · Contrast checker → · Palette generator →

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