#CCF178#CCF178

#CCF178 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.7% C 0.154 H 123.5°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#CCF178
RGBrgb(204, 241, 120)
HSLhsl(78, 81%, 71%)
HSVhsv(78, 50%, 95%)
CMYKcmyk(15.4%, 0%, 50.2%, 5.5%)
CIE-LABlab(90.37, -30.17, 53.98)
CIE-LCHlch(90.37, 61.84, 119.20°)
OKLaboklab(90.65% -0.0849 0.1282)
OKLCHoklch(90.65% 0.154 123.5)
XYZxyz(59.7474, 77.1038, 29.5005)
Luminance0.7710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF178 #9D78F1
analogous
#F1D978 #CCF178 #8FF178
triadic
#CCF178 #78CCF1 #F178CC
tetradic
#CCF178 #78F1D9 #9D78F1 #F1788F
square
#CCF178 #78F1D9 #9D78F1 #F1788F
split-complementary
#CCF178 #788FF1 #D978F1
monochromatic
#9DD816 #B7EB41 #CCF178 #E1F7AF #F5FCE3

Accessibility & contrast

On white

1.28
#CCF178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#CCF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF178
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF178#FFFFFF#000000##000000
##CCF1781.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46D
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#D4E7D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf178;
/* rgb */ color: rgb(204, 241, 120);
/* oklch */ color: oklch(90.7% 0.154 123.5);
Tailwind
colors: {
  custom: {
    50: '#ddf5a2',
    500: '#ccf178',
    950: '#000000',
  },
}
SCSS
$custom: #ccf178;
$custom-light: #ddf5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf178",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 78.347,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90653,
    "c": 0.15374,
    "h": 123.5
  },
  "luminance": 0.77104
}

Semantic roles & 50–950 ramp

primary
#CCF178
secondary
#6C42CB
accent
#08DE49
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF178

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

Preview Lab → · Contrast checker → · Palette generator →

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