#CCFB78#CCFB78

#CCFB78 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 92.8% C 0.167 H 125.9°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#CCFB78
RGBrgb(204, 251, 120)
HSLhsl(82, 94%, 73%)
HSVhsv(82, 52%, 98%)
CMYKcmyk(18.7%, 0%, 52.2%, 1.6%)
CIE-LABlab(93.10, -34.78, 57.22)
CIE-LCHlch(93.10, 66.96, 121.29°)
OKLaboklab(92.85% -0.0978 0.1353)
OKLCHoklch(92.85% 0.167 125.9)
XYZxyz(62.7891, 83.1871, 30.5144)
Luminance0.8319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFB78 #A778FB
analogous
#FBE978 #CCFB78 #8AFB78
triadic
#CCFB78 #78CCFB #FB78CC
tetradic
#CCFB78 #78FBE9 #A778FB #FB788A
square
#CCFB78 #78FBE9 #A778FB #FB788A
split-complementary
#CCFB78 #788AFB #E978FB
monochromatic
#9DF107 #B6F93D #CCFB78 #E2FDB3 #F4FEE1

Accessibility & contrast

On white

1.19
#CCFB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#CCFB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFB78
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFB78#FFFFFF#000000##000000
##CCFB781.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#D3F1DE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccfb78;
/* rgb */ color: rgb(204, 251, 120);
/* oklch */ color: oklch(92.8% 0.167 125.9);
Tailwind
colors: {
  custom: {
    50: '#defca2',
    500: '#ccfb78',
    950: '#000000',
  },
}
SCSS
$custom: #ccfb78;
$custom-light: #defca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfb78",
  "rgb": {
    "r": 204,
    "g": 251,
    "b": 120
  },
  "hsl": {
    "h": 81.527,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92848,
    "c": 0.16688,
    "h": 125.9
  },
  "luminance": 0.83188
}

Semantic roles & 50–950 ramp

primary
#CCFB78
secondary
#763FD8
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCFB78

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

Preview Lab → · Contrast checker → · Palette generator →

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