#CCF79E#CCF79E

#CCF79E is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.5% C 0.123 H 129.5°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#CCF79E
RGBrgb(204, 247, 158)
HSLhsl(89, 85%, 79%)
HSVhsv(89, 36%, 97%)
CMYKcmyk(17.4%, 0%, 36%, 3.1%)
CIE-LABlab(92.50, -28.66, 38.37)
CIE-LCHlch(92.50, 47.89, 126.76°)
OKLaboklab(92.53% -0.0783 0.095)
OKLCHoklch(92.53% 0.123 129.5)
XYZxyz(64.3332, 81.8266, 44.7459)
Luminance0.8183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF79E #C99EF7
analogous
#F7F69E #CCF79E #A0F79E
triadic
#CCF79E #9ECCF7 #F79ECC
tetradic
#CCF79E #9EF7F6 #C99EF7 #F79EA0
square
#CCF79E #9EF7F6 #C99EF7 #F79EA0
split-complementary
#CCF79E #9EA0F7 #F69EF7
monochromatic
#91EE2D #AEF265 #CCF79E #EAFCD7 #F0FDE3

Accessibility & contrast

On white

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

On black

17.37
#CCF79E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF79E
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF79E#FFFFFF#000000##000000
##CCF79E1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB98
Deuteranopia (green-blind)
#F9E8A3
Tritanopia (blue-blind)
#CFF0E1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf79e;
/* rgb */ color: rgb(204, 247, 158);
/* oklch */ color: oklch(92.5% 0.123 129.5);
Tailwind
colors: {
  custom: {
    50: '#dcfabb',
    500: '#ccf79e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf79e;
$custom-light: #dcfabb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf79e",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 158
  },
  "hsl": {
    "h": 88.989,
    "s": 84.762,
    "l": 79.412
  },
  "oklch": {
    "l": 0.92526,
    "c": 0.12308,
    "h": 129.5
  },
  "luminance": 0.81828
}

Semantic roles & 50–950 ramp

primary
#CCF79E
secondary
#9B62D7
accent
#04E16F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #CCF79E

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

Preview Lab → · Contrast checker → · Palette generator →

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