#CCF966#CCF966

#CCF966 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.2% C 0.180 H 124.2°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#CCF966
RGBrgb(204, 249, 102)
HSLhsl(78, 92%, 69%)
HSVhsv(78, 59%, 98%)
CMYKcmyk(18.1%, 0%, 59%, 2.4%)
CIE-LABlab(92.37, -35.43, 64.25)
CIE-LCHlch(92.37, 73.37, 118.88°)
OKLaboklab(92.21% -0.1011 0.1486)
OKLCHoklch(92.21% 0.18 124.2)
XYZxyz(61.1761, 81.5476, 25.0851)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF966 #9366F9
analogous
#F9DC66 #CCF966 #83F966
triadic
#CCF966 #66CCF9 #F966CC
tetradic
#CCF966 #66F9DC #9366F9 #F96683
square
#CCF966 #66F9DC #9366F9 #F96683
split-complementary
#CCF966 #6683F9 #DC66F9
monochromatic
#9BDC09 #B8F72B #CCF966 #E0FBA1 #F3FEDC

Accessibility & contrast

On white

1.21
#CCF966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#CCF966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF966
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF966#FFFFFF#000000##000000
##CCF9661.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB55
Deuteranopia (green-blind)
#FFE970
Tritanopia (blue-blind)
#D4EEDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf966;
/* rgb */ color: rgb(204, 249, 102);
/* oklch */ color: oklch(92.2% 0.180 124.2);
Tailwind
colors: {
  custom: {
    50: '#defb97',
    500: '#ccf966',
    950: '#000000',
  },
}
SCSS
$custom: #ccf966;
$custom-light: #defb97;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf966",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 102
  },
  "hsl": {
    "h": 78.367,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9221,
    "c": 0.17976,
    "h": 124.2
  },
  "luminance": 0.81548
}

Semantic roles & 50–950 ramp

primary
#CCF966
secondary
#6230D3
accent
#00E646
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF966

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

Preview Lab → · Contrast checker → · Palette generator →

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