#CCF288#CCF288

#CCF288 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.139 H 125.2°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#CCF288
RGBrgb(204, 242, 136)
HSLhsl(82, 80%, 74%)
HSVhsv(82, 44%, 95%)
CMYKcmyk(15.7%, 0%, 43.8%, 5.1%)
CIE-LABlab(90.83, -28.97, 47.00)
CIE-LCHlch(90.83, 55.21, 121.65°)
OKLaboklab(91.09% -0.0803 0.1138)
OKLCHoklch(91.09% 0.139 125.2)
XYZxyz(61.0976, 78.1187, 35.1474)
Luminance0.7812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF288 #AE88F2
analogous
#F2E388 #CCF288 #97F288
triadic
#CCF288 #88CCF2 #F288CC
tetradic
#CCF288 #88F2E3 #AE88F2 #F28897
square
#CCF288 #88F2E3 #AE88F2 #F28897
split-complementary
#CCF288 #8897F2 #E388F2
monochromatic
#9DE61A #B4EC51 #CCF288 #E4F8BF #F3FCE3

Accessibility & contrast

On white

1.26
#CCF288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#CCF288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF288
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF288#FFFFFF#000000##000000
##CCF2881.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67F
Deuteranopia (green-blind)
#F7E48E
Tritanopia (blue-blind)
#D2E9D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf288;
/* rgb */ color: rgb(204, 242, 136);
/* oklch */ color: oklch(91.1% 0.139 125.2);
Tailwind
colors: {
  custom: {
    50: '#ddf6ac',
    500: '#ccf288',
    950: '#000000',
  },
}
SCSS
$custom: #ccf288;
$custom-light: #ddf6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf288",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 81.509,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91089,
    "c": 0.13927,
    "h": 125.2
  },
  "luminance": 0.78119
}

Semantic roles & 50–950 ramp

primary
#CCF288
secondary
#7D50CE
accent
#09DD55
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF288

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

Preview Lab → · Contrast checker → · Palette generator →

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