#CCF276#CCF276

#CCF276 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.8% C 0.157 H 123.6°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#CCF276
RGBrgb(204, 242, 118)
HSLhsl(78, 83%, 71%)
HSVhsv(78, 51%, 95%)
CMYKcmyk(15.7%, 0%, 51.2%, 5.1%)
CIE-LABlab(90.62, -30.83, 55.20)
CIE-LCHlch(90.62, 63.22, 119.19°)
OKLaboklab(90.85% -0.0869 0.1307)
OKLCHoklch(90.85% 0.157 123.6)
XYZxyz(59.9241, 77.6493, 28.9669)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF276 #9C76F2
analogous
#F2DA76 #CCF276 #8EF276
triadic
#CCF276 #76CCF2 #F276CC
tetradic
#CCF276 #76F2DA #9C76F2 #F2768E
square
#CCF276 #76F2DA #9C76F2 #F2768E
split-complementary
#CCF276 #768EF2 #DA76F2
monochromatic
#9DD915 #B7ED3E #CCF276 #E1F7AE #F5FCE3

Accessibility & contrast

On white

1.27
#CCF276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#CCF276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF276
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF276#FFFFFF#000000##000000
##CCF2761.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56A
Deuteranopia (green-blind)
#F9E47D
Tritanopia (blue-blind)
#D4E8D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf276;
/* rgb */ color: rgb(204, 242, 118);
/* oklch */ color: oklch(90.8% 0.157 123.6);
Tailwind
colors: {
  custom: {
    50: '#def6a0',
    500: '#ccf276',
    950: '#000000',
  },
}
SCSS
$custom: #ccf276;
$custom-light: #def6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf276",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 118
  },
  "hsl": {
    "h": 78.387,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90847,
    "c": 0.15693,
    "h": 123.6
  },
  "luminance": 0.7765
}

Semantic roles & 50–950 ramp

primary
#CCF276
secondary
#6B40CC
accent
#06DF49
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF276

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

Preview Lab → · Contrast checker → · Palette generator →

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