#CCF878#CCF878

#CCF878 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.2% C 0.163 H 125.2°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#CCF878
RGBrgb(204, 248, 120)
HSLhsl(81, 90%, 72%)
HSVhsv(81, 52%, 97%)
CMYKcmyk(17.7%, 0%, 51.6%, 2.7%)
CIE-LABlab(92.28, -33.41, 56.25)
CIE-LCHlch(92.28, 65.42, 120.71°)
OKLaboklab(92.19% -0.0939 0.1332)
OKLCHoklch(92.19% 0.163 125.2)
XYZxyz(61.8594, 81.3277, 30.2045)
Luminance0.8133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF878 #A478F8
analogous
#F8E478 #CCF878 #8CF878
triadic
#CCF878 #78CCF8 #F878CC
tetradic
#CCF878 #78F8E4 #A478F8 #F8788C
square
#CCF878 #78F8E4 #A478F8 #F8788C
split-complementary
#CCF878 #788CF8 #E478F8
monochromatic
#9DE90C #B6F53E #CCF878 #E2FBB2 #F4FDE2

Accessibility & contrast

On white

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

On black

17.27
#CCF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF878
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF878#FFFFFF#000000##000000
##CCF8781.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FEE880
Tritanopia (blue-blind)
#D3EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf878;
/* rgb */ color: rgb(204, 248, 120);
/* oklch */ color: oklch(92.2% 0.163 125.2);
Tailwind
colors: {
  custom: {
    50: '#defaa2',
    500: '#ccf878',
    950: '#000000',
  },
}
SCSS
$custom: #ccf878;
$custom-light: #defaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf878",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 80.625,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92188,
    "c": 0.16295,
    "h": 125.2
  },
  "luminance": 0.81328
}

Semantic roles & 50–950 ramp

primary
#CCF878
secondary
#7340D4
accent
#00E64F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF878

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

Preview Lab → · Contrast checker → · Palette generator →

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