#CCF896#CCF896

#CCF896 is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.6% C 0.133 H 128.5°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#CCF896
RGBrgb(204, 248, 150)
HSLhsl(87, 88%, 78%)
HSVhsv(87, 40%, 97%)
CMYKcmyk(17.7%, 0%, 39.5%, 2.7%)
CIE-LABlab(92.65, -30.14, 42.51)
CIE-LCHlch(92.65, 52.11, 125.34°)
OKLaboklab(92.61% -0.0828 0.1042)
OKLCHoklch(92.61% 0.133 128.5)
XYZxyz(63.9735, 82.1733, 41.3389)
Luminance0.8217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF896 #C296F8
analogous
#F8F396 #CCF896 #9BF896
triadic
#CCF896 #96CCF8 #F896CC
tetradic
#CCF896 #96F8F3 #C296F8 #F8969B
square
#CCF896 #96F8F3 #C296F8 #F8969B
split-complementary
#CCF896 #969BF8 #F396F8
monochromatic
#94F023 #B0F45D #CCF896 #E8FCCF #F1FDE2

Accessibility & contrast

On white

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

On black

17.43
#CCF896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF896
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF896#FFFFFF#000000##000000
##CCF8961.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FAE99B
Tritanopia (blue-blind)
#D0F0E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf896;
/* rgb */ color: rgb(204, 248, 150);
/* oklch */ color: oklch(92.6% 0.133 128.5);
Tailwind
colors: {
  custom: {
    50: '#ddfab6',
    500: '#ccf896',
    950: '#000000',
  },
}
SCSS
$custom: #ccf896;
$custom-light: #ddfab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf896",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 86.939,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92611,
    "c": 0.1331,
    "h": 128.5
  },
  "luminance": 0.82174
}

Semantic roles & 50–950 ramp

primary
#CCF896
secondary
#935BD8
accent
#01E467
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF896

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

Preview Lab → · Contrast checker → · Palette generator →

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