#CCF799#CCF799

#CCF799 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.4% C 0.128 H 128.7°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#CCF799
RGBrgb(204, 247, 153)
HSLhsl(87, 85%, 78%)
HSVhsv(87, 38%, 97%)
CMYKcmyk(17.4%, 0%, 38.1%, 3.1%)
CIE-LABlab(92.42, -29.30, 40.74)
CIE-LCHlch(92.42, 50.19, 125.72°)
OKLaboklab(92.44% -0.0803 0.1003)
OKLCHoklch(92.44% 0.128 128.7)
XYZxyz(63.9116, 81.6580, 42.5252)
Luminance0.8166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF799 #C499F7
analogous
#F7F399 #CCF799 #9DF799
triadic
#CCF799 #99CCF7 #F799CC
tetradic
#CCF799 #99F7F3 #C499F7 #F7999D
square
#CCF799 #99F7F3 #C499F7 #F7999D
split-complementary
#CCF799 #999DF7 #F399F7
monochromatic
#93EE27 #B0F360 #CCF799 #E8FBD2 #F1FDE3

Accessibility & contrast

On white

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

On black

17.33
#CCF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF799
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF799#FFFFFF#000000##000000
##CCF7991.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB92
Deuteranopia (green-blind)
#F9E89E
Tritanopia (blue-blind)
#D0EFE0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf799;
/* rgb */ color: rgb(204, 247, 153);
/* oklch */ color: oklch(92.4% 0.128 128.7);
Tailwind
colors: {
  custom: {
    50: '#ddfab8',
    500: '#ccf799',
    950: '#000000',
  },
}
SCSS
$custom: #ccf799;
$custom-light: #ddfab8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf799",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 87.447,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92442,
    "c": 0.12846,
    "h": 128.7
  },
  "luminance": 0.81659
}

Semantic roles & 50–950 ramp

primary
#CCF799
secondary
#955ED6
accent
#04E269
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF799

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

Preview Lab → · Contrast checker → · Palette generator →

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