#CCFA78#CCFA78

#CCFA78 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.6% C 0.166 H 125.6°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#CCFA78
RGBrgb(204, 250, 120)
HSLhsl(81, 93%, 73%)
HSVhsv(81, 52%, 98%)
CMYKcmyk(18.4%, 0%, 52%, 2%)
CIE-LABlab(92.82, -34.32, 56.89)
CIE-LCHlch(92.82, 66.44, 121.10°)
OKLaboklab(92.63% -0.0965 0.1346)
OKLCHoklch(92.63% 0.166 125.6)
XYZxyz(62.4776, 82.5640, 30.4106)
Luminance0.8256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA78 #A678FA
analogous
#FAE778 #CCFA78 #8BFA78
triadic
#CCFA78 #78CCFA #FA78CC
tetradic
#CCFA78 #78FAE7 #A678FA #FA788B
square
#CCFA78 #78FAE7 #A678FA #FA788B
split-complementary
#CCFA78 #788BFA #E778FA
monochromatic
#9DEF09 #B6F83D #CCFA78 #E2FCB3 #F4FEE1

Accessibility & contrast

On white

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

On black

17.51
#CCFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA78
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA78#FFFFFF#000000##000000
##CCFA781.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#D3F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccfa78;
/* rgb */ color: rgb(204, 250, 120);
/* oklch */ color: oklch(92.6% 0.166 125.6);
Tailwind
colors: {
  custom: {
    50: '#defca2',
    500: '#ccfa78',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa78;
$custom-light: #defca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa78",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 81.231,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92628,
    "c": 0.16557,
    "h": 125.6
  },
  "luminance": 0.82565
}

Semantic roles & 50–950 ramp

primary
#CCFA78
secondary
#7540D6
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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