#CCF897#CCF897

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

Color values

HEX#CCF897
RGBrgb(204, 248, 151)
HSLhsl(87, 87%, 78%)
HSVhsv(87, 39%, 97%)
CMYKcmyk(17.7%, 0%, 39.1%, 2.7%)
CIE-LABlab(92.67, -30.02, 42.04)
CIE-LCHlch(92.67, 51.65, 125.53°)
OKLaboklab(92.63% -0.0824 0.1032)
OKLCHoklch(92.63% 0.132 128.6)
XYZxyz(64.0544, 82.2057, 41.7648)
Luminance0.8221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF897 #C397F8
analogous
#F8F397 #CCF897 #9BF897
triadic
#CCF897 #97CCF8 #F897CC
tetradic
#CCF897 #97F8F3 #C397F8 #F8979B
square
#CCF897 #97F8F3 #C397F8 #F8979B
split-complementary
#CCF897 #979BF8 #F397F8
monochromatic
#94F024 #B0F45E #CCF897 #E8FCD0 #F1FDE2

Accessibility & contrast

On white

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

On black

17.44
#CCF897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF897
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF897#FFFFFF#000000##000000
##CCF8971.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf897;
/* rgb */ color: rgb(204, 248, 151);
/* oklch */ color: oklch(92.6% 0.132 128.6);
Tailwind
colors: {
  custom: {
    50: '#ddfab7',
    500: '#ccf897',
    950: '#000000',
  },
}
SCSS
$custom: #ccf897;
$custom-light: #ddfab7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf897",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 151
  },
  "hsl": {
    "h": 87.216,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92627,
    "c": 0.13205,
    "h": 128.6
  },
  "luminance": 0.82207
}

Semantic roles & 50–950 ramp

primary
#CCF897
secondary
#945CD8
accent
#02E468
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF897

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

Preview Lab → · Contrast checker → · Palette generator →

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