#CCF78E#CCF78E

#CCF78E is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.3% C 0.140 H 127.2°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#CCF78E
RGBrgb(204, 247, 142)
HSLhsl(85, 87%, 76%)
HSVhsv(85, 43%, 97%)
CMYKcmyk(17.4%, 0%, 42.5%, 3.1%)
CIE-LABlab(92.27, -30.63, 45.91)
CIE-LCHlch(92.27, 55.19, 123.71°)
OKLaboklab(92.27% -0.0846 0.1116)
OKLCHoklch(92.27% 0.14 127.2)
XYZxyz(63.0446, 81.3112, 37.9591)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF78E #B98EF7
analogous
#F7ED8E #CCF78E #98F78E
triadic
#CCF78E #8ECCF7 #F78ECC
tetradic
#CCF78E #8EF7ED #B98EF7 #F78E98
square
#CCF78E #8EF7ED #B98EF7 #F78E98
split-complementary
#CCF78E #8E98F7 #ED8EF7
monochromatic
#98EF1C #B2F355 #CCF78E #E6FBC7 #F2FDE2

Accessibility & contrast

On white

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

On black

17.26
#CCF78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF78E
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF78E#FFFFFF#000000##000000
##CCF78E1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB86
Deuteranopia (green-blind)
#FBE894
Tritanopia (blue-blind)
#D1EEDE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf78e;
/* rgb */ color: rgb(204, 247, 142);
/* oklch */ color: oklch(92.3% 0.140 127.2);
Tailwind
colors: {
  custom: {
    50: '#ddfab0',
    500: '#ccf78e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf78e;
$custom-light: #ddfab0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf78e",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 142
  },
  "hsl": {
    "h": 84.571,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92268,
    "c": 0.14005,
    "h": 127.2
  },
  "luminance": 0.81312
}

Semantic roles & 50–950 ramp

primary
#CCF78E
secondary
#8954D5
accent
#02E35E
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151711
muted
#848581

Preview Lab

Preview with #CCF78E

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

Preview Lab → · Contrast checker → · Palette generator →

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