#CCF980#CCF980

#CCF980 is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.5% C 0.157 H 126.1°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#CCF980
RGBrgb(204, 249, 128)
HSLhsl(82, 91%, 74%)
HSVhsv(82, 49%, 98%)
CMYKcmyk(18.1%, 0%, 48.6%, 2.4%)
CIE-LABlab(92.64, -33.08, 53.00)
CIE-LCHlch(92.64, 62.48, 121.97°)
OKLaboklab(92.51% -0.0924 0.1266)
OKLCHoklch(92.51% 0.157 126.1)
XYZxyz(62.6736, 82.1466, 32.9719)
Luminance0.8215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF980 #AD80F9
analogous
#F9EA80 #CCF980 #90F980
triadic
#CCF980 #80CCF9 #F980CC
tetradic
#CCF980 #80F9EA #AD80F9 #F98090
square
#CCF980 #80F9EA #AD80F9 #F98090
split-complementary
#CCF980 #8090F9 #EA80F9
monochromatic
#9DF30B #B5F646 #CCF980 #E3FCBA #F3FEE2

Accessibility & contrast

On white

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

On black

17.43
#CCF980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF980
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF980#FFFFFF#000000##000000
##CCF9801.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC75
Deuteranopia (green-blind)
#FEE987
Tritanopia (blue-blind)
#D2EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf980;
/* rgb */ color: rgb(204, 249, 128);
/* oklch */ color: oklch(92.5% 0.157 126.1);
Tailwind
colors: {
  custom: {
    50: '#ddfba7',
    500: '#ccf980',
    950: '#000000',
  },
}
SCSS
$custom: #ccf980;
$custom-light: #ddfba7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf980",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 82.314,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92509,
    "c": 0.15675,
    "h": 126.1
  },
  "luminance": 0.82147
}

Semantic roles & 50–950 ramp

primary
#CCF980
secondary
#7C47D6
accent
#00E655
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCF980

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

Preview Lab → · Contrast checker → · Palette generator →

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