#CCF866#CCF866

#CCF866 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.0% C 0.179 H 124.0°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#CCF866
RGBrgb(204, 248, 102)
HSLhsl(78, 91%, 69%)
HSVhsv(78, 59%, 97%)
CMYKcmyk(17.7%, 0%, 58.9%, 2.7%)
CIE-LABlab(92.10, -34.98, 63.94)
CIE-LCHlch(92.10, 72.88, 118.68°)
OKLaboklab(91.99% -0.0998 0.148)
OKLCHoklch(91.99% 0.179 124)
XYZxyz(60.8678, 80.9311, 24.9823)
Luminance0.8093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF866 #9266F8
analogous
#F8DB66 #CCF866 #83F866
triadic
#CCF866 #66CCF8 #F866CC
tetradic
#CCF866 #66F8DB #9266F8 #F86683
square
#CCF866 #66F8DB #9266F8 #F86683
split-complementary
#CCF866 #6683F8 #DB66F8
monochromatic
#9BDA0A #B8F52B #CCF866 #E0FBA1 #F3FDDB

Accessibility & contrast

On white

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

On black

17.19
#CCF866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF866
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF866#FFFFFF#000000##000000
##CCF8661.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFE870
Tritanopia (blue-blind)
#D5EDD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf866;
/* rgb */ color: rgb(204, 248, 102);
/* oklch */ color: oklch(92.0% 0.179 124.0);
Tailwind
colors: {
  custom: {
    50: '#defa97',
    500: '#ccf866',
    950: '#000000',
  },
}
SCSS
$custom: #ccf866;
$custom-light: #defa97;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf866",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 78.082,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.91989,
    "c": 0.17851,
    "h": 124
  },
  "luminance": 0.80931
}

Semantic roles & 50–950 ramp

primary
#CCF866
secondary
#6131D2
accent
#00E645
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF866

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

Preview Lab → · Contrast checker → · Palette generator →

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