#CCF078#CCF078

#CCF078 is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.4% C 0.152 H 123.2°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#CCF078
RGBrgb(204, 240, 120)
HSLhsl(78, 80%, 71%)
HSVhsv(78, 50%, 94%)
CMYKcmyk(15%, 0%, 50%, 5.9%)
CIE-LABlab(90.10, -29.71, 53.65)
CIE-LCHlch(90.10, 61.33, 118.97°)
OKLaboklab(90.43% -0.0836 0.1275)
OKLCHoklch(90.43% 0.152 123.2)
XYZxyz(59.4522, 76.5134, 29.4021)
Luminance0.7651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF078 #9C78F0
analogous
#F0D878 #CCF078 #90F078
triadic
#CCF078 #78CCF0 #F078CC
tetradic
#CCF078 #78F0D8 #9C78F0 #F07890
square
#CCF078 #78F0D8 #9C78F0 #F07890
split-complementary
#CCF078 #7890F0 #D878F0
monochromatic
#9DD618 #B7EA41 #CCF078 #E1F6AF #F5FCE3

Accessibility & contrast

On white

1.29
#CCF078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#CCF078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF078
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF078#FFFFFF#000000##000000
##CCF0781.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#F7E27F
Tritanopia (blue-blind)
#D4E6D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf078;
/* rgb */ color: rgb(204, 240, 120);
/* oklch */ color: oklch(90.4% 0.152 123.2);
Tailwind
colors: {
  custom: {
    50: '#ddf5a2',
    500: '#ccf078',
    950: '#000000',
  },
}
SCSS
$custom: #ccf078;
$custom-light: #ddf5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf078",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 78,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90434,
    "c": 0.15243,
    "h": 123.2
  },
  "luminance": 0.76514
}

Semantic roles & 50–950 ramp

primary
#CCF078
secondary
#6B42CA
accent
#09DC49
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF078

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

Preview Lab → · Contrast checker → · Palette generator →

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