#CCF780#CCF780

#CCF780 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.1% C 0.154 H 125.7°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#CCF780
RGBrgb(204, 247, 128)
HSLhsl(82, 88%, 74%)
HSVhsv(82, 48%, 97%)
CMYKcmyk(17.4%, 0%, 48.2%, 3.1%)
CIE-LABlab(92.09, -32.16, 52.34)
CIE-LCHlch(92.09, 61.43, 121.56°)
OKLaboklab(92.07% -0.0898 0.1252)
OKLCHoklch(92.07% 0.154 125.7)
XYZxyz(62.0587, 80.9168, 32.7669)
Luminance0.8092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF780 #AB80F7
analogous
#F7E780 #CCF780 #90F780
triadic
#CCF780 #80CCF7 #F780CC
tetradic
#CCF780 #80F7E7 #AB80F7 #F78090
square
#CCF780 #80F7E7 #AB80F7 #F78090
split-complementary
#CCF780 #8090F7 #E780F7
monochromatic
#9DEE0F #B5F346 #CCF780 #E3FBBA #F3FDE2

Accessibility & contrast

On white

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

On black

17.18
#CCF780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF780
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF780#FFFFFF#000000##000000
##CCF7801.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA76
Deuteranopia (green-blind)
#FCE887
Tritanopia (blue-blind)
#D3EDDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf780;
/* rgb */ color: rgb(204, 247, 128);
/* oklch */ color: oklch(92.1% 0.154 125.7);
Tailwind
colors: {
  custom: {
    50: '#ddfaa7',
    500: '#ccf780',
    950: '#000000',
  },
}
SCSS
$custom: #ccf780;
$custom-light: #ddfaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf780",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 128
  },
  "hsl": {
    "h": 81.681,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9207,
    "c": 0.15406,
    "h": 125.7
  },
  "luminance": 0.80917
}

Semantic roles & 50–950 ramp

primary
#CCF780
secondary
#7A48D4
accent
#01E553
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCF780

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

Preview Lab → · Contrast checker → · Palette generator →

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