#CCF697#CCF697

#CCF697 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.2% C 0.129 H 128.1°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#CCF697
RGBrgb(204, 246, 151)
HSLhsl(87, 84%, 78%)
HSVhsv(87, 39%, 96%)
CMYKcmyk(17.1%, 0%, 38.6%, 3.5%)
CIE-LABlab(92.12, -29.08, 41.34)
CIE-LCHlch(92.12, 50.55, 125.12°)
OKLaboklab(92.19% -0.0798 0.1016)
OKLCHoklch(92.19% 0.129 128.1)
XYZxyz(63.4428, 80.9825, 41.5609)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF697 #C197F6
analogous
#F6F097 #CCF697 #9CF697
triadic
#CCF697 #97CCF6 #F697CC
tetradic
#CCF697 #97F6F0 #C197F6 #F6979C
square
#CCF697 #97F6F0 #C197F6 #F6979C
split-complementary
#CCF697 #979CF6 #F097F6
monochromatic
#95EC26 #B0F15F #CCF697 #E8FBCF #F1FDE3

Accessibility & contrast

On white

1.22
#CCF697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#CCF697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF697
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF697#FFFFFF#000000##000000
##CCF6971.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA90
Deuteranopia (green-blind)
#F9E89C
Tritanopia (blue-blind)
#D0EEDE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf697;
/* rgb */ color: rgb(204, 246, 151);
/* oklch */ color: oklch(92.2% 0.129 128.1);
Tailwind
colors: {
  custom: {
    50: '#ddf9b6',
    500: '#ccf697',
    950: '#000000',
  },
}
SCSS
$custom: #ccf697;
$custom-light: #ddf9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf697",
  "rgb": {
    "r": 204,
    "g": 246,
    "b": 151
  },
  "hsl": {
    "h": 86.526,
    "s": 84.071,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92192,
    "c": 0.12916,
    "h": 128.1
  },
  "luminance": 0.80983
}

Semantic roles & 50–950 ramp

primary
#CCF697
secondary
#925CD5
accent
#05E166
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF697

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

Preview Lab → · Contrast checker → · Palette generator →

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