#CCF879#CCF879

#CCF879 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.2% C 0.162 H 125.3°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#CCF879
RGBrgb(204, 248, 121)
HSLhsl(81, 90%, 72%)
HSVhsv(81, 51%, 97%)
CMYKcmyk(17.7%, 0%, 51.2%, 2.7%)
CIE-LABlab(92.29, -33.31, 55.81)
CIE-LCHlch(92.29, 64.99, 120.83°)
OKLaboklab(92.2% -0.0936 0.1323)
OKLCHoklch(92.2% 0.162 125.3)
XYZxyz(61.9204, 81.3521, 30.5258)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF879 #A579F8
analogous
#F8E479 #CCF879 #8DF879
triadic
#CCF879 #79CCF8 #F879CC
tetradic
#CCF879 #79F8E4 #A579F8 #F8798D
square
#CCF879 #79F8E4 #A579F8 #F8798D
split-complementary
#CCF879 #798DF8 #E479F8
monochromatic
#9DEA0C #B6F53F #CCF879 #E2FBB3 #F4FDE2

Accessibility & contrast

On white

1.22
#CCF879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#CCF879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF879
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF879#FFFFFF#000000##000000
##CCF8791.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6D
Deuteranopia (green-blind)
#FDE881
Tritanopia (blue-blind)
#D3EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf879;
/* rgb */ color: rgb(204, 248, 121);
/* oklch */ color: oklch(92.2% 0.162 125.3);
Tailwind
colors: {
  custom: {
    50: '#defaa3',
    500: '#ccf879',
    950: '#000000',
  },
}
SCSS
$custom: #ccf879;
$custom-light: #defaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf879",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 80.787,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92201,
    "c": 0.16202,
    "h": 125.3
  },
  "luminance": 0.81353
}

Semantic roles & 50–950 ramp

primary
#CCF879
secondary
#7441D4
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF879

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

Preview Lab → · Contrast checker → · Palette generator →

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