#CCF778#CCF778

#CCF778 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.0% C 0.162 H 125.0°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#CCF778
RGBrgb(204, 247, 120)
HSLhsl(80, 89%, 72%)
HSVhsv(80, 51%, 97%)
CMYKcmyk(17.4%, 0%, 51.4%, 3.1%)
CIE-LABlab(92.00, -32.95, 55.92)
CIE-LCHlch(92.00, 64.91, 120.51°)
OKLaboklab(91.97% -0.0926 0.1324)
OKLCHoklch(91.97% 0.162 125)
XYZxyz(61.5528, 80.7145, 30.1023)
Luminance0.8072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF778 #A378F7
analogous
#F7E378 #CCF778 #8DF778
triadic
#CCF778 #78CCF7 #F778CC
tetradic
#CCF778 #78F7E3 #A378F7 #F7788D
square
#CCF778 #78F7E3 #A378F7 #F7788D
split-complementary
#CCF778 #788DF7 #E378F7
monochromatic
#9DE70E #B6F43E #CCF778 #E2FAB2 #F4FDE2

Accessibility & contrast

On white

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

On black

17.14
#CCF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF778
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF778#FFFFFF#000000##000000
##CCF7781.001.2217.1417.14
#FFFFFF1.221.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#D3EDDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf778;
/* rgb */ color: rgb(204, 247, 120);
/* oklch */ color: oklch(92.0% 0.162 125.0);
Tailwind
colors: {
  custom: {
    50: '#defaa2',
    500: '#ccf778',
    950: '#000000',
  },
}
SCSS
$custom: #ccf778;
$custom-light: #defaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf778",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 80.315,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91969,
    "c": 0.16163,
    "h": 125
  },
  "luminance": 0.80715
}

Semantic roles & 50–950 ramp

primary
#CCF778
secondary
#7241D3
accent
#00E54E
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF778

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

Preview Lab → · Contrast checker → · Palette generator →

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