#CCF478#CCF478

#CCF478 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.3% C 0.158 H 124.3°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#CCF478
RGBrgb(204, 244, 120)
HSLhsl(79, 85%, 71%)
HSVhsv(79, 51%, 96%)
CMYKcmyk(16.4%, 0%, 50.8%, 4.3%)
CIE-LABlab(91.19, -31.57, 54.95)
CIE-LCHlch(91.19, 63.37, 119.87°)
OKLaboklab(91.31% -0.0888 0.1303)
OKLCHoklch(91.31% 0.158 124.3)
XYZxyz(60.6428, 78.8944, 29.7990)
Luminance0.7890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF478 #A078F4
analogous
#F4DE78 #CCF478 #8EF478
triadic
#CCF478 #78CCF4 #F478CC
tetradic
#CCF478 #78F4DE #A078F4 #F4788E
square
#CCF478 #78F4DE #A078F4 #F4788E
split-complementary
#CCF478 #788EF4 #DE78F4
monochromatic
#9DDF12 #B7EF3F #CCF478 #E1F9B1 #F4FDE3

Accessibility & contrast

On white

1.25
#CCF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#CCF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF478
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF478#FFFFFF#000000##000000
##CCF4781.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#D4EAD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf478;
/* rgb */ color: rgb(204, 244, 120);
/* oklch */ color: oklch(91.3% 0.158 124.3);
Tailwind
colors: {
  custom: {
    50: '#def7a2',
    500: '#ccf478',
    950: '#000000',
  },
}
SCSS
$custom: #ccf478;
$custom-light: #def7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf478",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 79.355,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9131,
    "c": 0.15769,
    "h": 124.3
  },
  "luminance": 0.78895
}

Semantic roles & 50–950 ramp

primary
#CCF478
secondary
#6F41CF
accent
#04E14B
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF478

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

Preview Lab → · Contrast checker → · Palette generator →

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