#CCF378#CCF378

#CCF378 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.1% C 0.156 H 124.0°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#CCF378
RGBrgb(204, 243, 120)
HSLhsl(79, 84%, 71%)
HSVhsv(79, 51%, 95%)
CMYKcmyk(16%, 0%, 50.6%, 4.7%)
CIE-LABlab(90.91, -31.10, 54.63)
CIE-LCHlch(90.91, 62.86, 119.66°)
OKLaboklab(91.09% -0.0875 0.1296)
OKLCHoklch(91.09% 0.156 124)
XYZxyz(60.3427, 78.2943, 29.6989)
Luminance0.7830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF378 #9F78F3
analogous
#F3DC78 #CCF378 #8EF378
triadic
#CCF378 #78CCF3 #F378CC
tetradic
#CCF378 #78F3DC #9F78F3 #F3788E
square
#CCF378 #78F3DC #9F78F3 #F3788E
split-complementary
#CCF378 #788EF3 #DC78F3
monochromatic
#9DDD14 #B7EE40 #CCF378 #E1F8B0 #F4FDE3

Accessibility & contrast

On white

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

On black

16.66
#CCF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF378
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF378#FFFFFF#000000##000000
##CCF3781.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66D
Deuteranopia (green-blind)
#F9E57F
Tritanopia (blue-blind)
#D4E9D7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf378;
/* rgb */ color: rgb(204, 243, 120);
/* oklch */ color: oklch(91.1% 0.156 124.0);
Tailwind
colors: {
  custom: {
    50: '#def7a2',
    500: '#ccf378',
    950: '#000000',
  },
}
SCSS
$custom: #ccf378;
$custom-light: #def7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf378",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 79.024,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91091,
    "c": 0.15638,
    "h": 124
  },
  "luminance": 0.78295
}

Semantic roles & 50–950 ramp

primary
#CCF378
secondary
#6E42CE
accent
#05E04B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF378

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

Preview Lab → · Contrast checker → · Palette generator →

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