#CCF766#CCF766

#CCF766 is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 91.8% C 0.177 H 123.8°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#CCF766
RGBrgb(204, 247, 102)
HSLhsl(78, 90%, 68%)
HSVhsv(78, 59%, 97%)
CMYKcmyk(17.4%, 0%, 58.7%, 3.1%)
CIE-LABlab(91.83, -34.52, 63.64)
CIE-LCHlch(91.83, 72.40, 118.48°)
OKLaboklab(91.77% -0.0986 0.1473)
OKLCHoklch(91.77% 0.177 123.8)
XYZxyz(60.5612, 80.3178, 24.8801)
Luminance0.8032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF766 #9166F7
analogous
#F7D966 #CCF766 #83F766
triadic
#CCF766 #66CCF7 #F766CC
tetradic
#CCF766 #66F7D9 #9166F7 #F76683
square
#CCF766 #66F7D9 #9166F7 #F76683
split-complementary
#CCF766 #6683F7 #D966F7
monochromatic
#9BD70B #B9F42C #CCF766 #DFFAA0 #F3FDDA

Accessibility & contrast

On white

1.23
#CCF766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#CCF766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF766
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF766#FFFFFF#000000##000000
##CCF7661.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FEE770
Tritanopia (blue-blind)
#D5ECD8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf766;
/* rgb */ color: rgb(204, 247, 102);
/* oklch */ color: oklch(91.8% 0.177 123.8);
Tailwind
colors: {
  custom: {
    50: '#defa97',
    500: '#ccf766',
    950: '#000000',
  },
}
SCSS
$custom: #ccf766;
$custom-light: #defa97;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf766",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 77.793,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91769,
    "c": 0.17727,
    "h": 123.8
  },
  "luminance": 0.80318
}

Semantic roles & 50–950 ramp

primary
#CCF766
secondary
#6031D0
accent
#00E644
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF766

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

Preview Lab → · Contrast checker → · Palette generator →

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