#CCF662#CCF662

#CCF662 is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.5% C 0.179 H 123.3°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#CCF662
RGBrgb(204, 246, 98)
HSLhsl(77, 89%, 67%)
HSVhsv(77, 60%, 96%)
CMYKcmyk(17.1%, 0%, 60.2%, 3.5%)
CIE-LABlab(91.52, -34.38, 64.97)
CIE-LCHlch(91.52, 73.50, 117.88°)
OKLaboklab(91.51% -0.0985 0.1497)
OKLCHoklch(91.51% 0.179 123.3)
XYZxyz(60.0627, 79.6304, 23.7588)
Luminance0.7963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF662 #8C62F6
analogous
#F6D662 #CCF662 #82F662
triadic
#CCF662 #62CCF6 #F662CC
tetradic
#CCF662 #62F6D6 #8C62F6 #F66282
square
#CCF662 #62F6D6 #8C62F6 #F66282
split-complementary
#CCF662 #6282F6 #D662F6
monochromatic
#9AD20C #B9F328 #CCF662 #DFF99C #F2FDD6

Accessibility & contrast

On white

1.24
#CCF662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.93
#CCF662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF662
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF662#FFFFFF#000000##000000
##CCF6621.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FEE66C
Tritanopia (blue-blind)
#D5EBD7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf662;
/* rgb */ color: rgb(204, 246, 98);
/* oklch */ color: oklch(91.5% 0.179 123.3);
Tailwind
colors: {
  custom: {
    50: '#def994',
    500: '#ccf662',
    950: '#000000',
  },
}
SCSS
$custom: #ccf662;
$custom-light: #def994;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf662",
  "rgb": {
    "r": 204,
    "g": 246,
    "b": 98
  },
  "hsl": {
    "h": 77.027,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91509,
    "c": 0.17923,
    "h": 123.3
  },
  "luminance": 0.79631
}

Semantic roles & 50–950 ramp

primary
#CCF662
secondary
#5C2FCD
accent
#00E641
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF662

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

Preview Lab → · Contrast checker → · Palette generator →

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