#CCF299#CCF299

#CCF299 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.4% C 0.121 H 127.4°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#CCF299
RGBrgb(204, 242, 153)
HSLhsl(86, 77%, 77%)
HSVhsv(86, 37%, 95%)
CMYKcmyk(15.7%, 0%, 36.8%, 5.1%)
CIE-LABlab(91.07, -26.95, 38.99)
CIE-LCHlch(91.07, 47.40, 124.65°)
OKLaboklab(91.36% -0.0737 0.0962)
OKLCHoklch(91.36% 0.121 127.4)
XYZxyz(62.4030, 78.6409, 42.0224)
Luminance0.7864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF299 #BF99F2
analogous
#F2EB99 #CCF299 #A0F299
triadic
#CCF299 #99CCF2 #F299CC
tetradic
#CCF299 #99F2EB #BF99F2 #F299A0
square
#CCF299 #99F2EB #BF99F2 #F299A0
split-complementary
#CCF299 #99A0F2 #EB99F2
monochromatic
#96E42C #B1EB63 #CCF299 #E7F9CF #F1FCE4

Accessibility & contrast

On white

1.26
#CCF299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#CCF299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF299
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF299#FFFFFF#000000##000000
##CCF2991.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE793
Deuteranopia (green-blind)
#F5E59E
Tritanopia (blue-blind)
#D0EADC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf299;
/* rgb */ color: rgb(204, 242, 153);
/* oklch */ color: oklch(91.4% 0.121 127.4);
Tailwind
colors: {
  custom: {
    50: '#dcf6b8',
    500: '#ccf299',
    950: '#000000',
  },
}
SCSS
$custom: #ccf299;
$custom-light: #dcf6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf299",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 85.618,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91357,
    "c": 0.12121,
    "h": 127.4
  },
  "luminance": 0.78642
}

Semantic roles & 50–950 ramp

primary
#CCF299
secondary
#8F60D0
accent
#0CDA64
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF299

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

Preview Lab → · Contrast checker → · Palette generator →

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