#CCF474#CCF474

#CCF474 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.3% C 0.161 H 124.0°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#CCF474
RGBrgb(204, 244, 116)
HSLhsl(79, 85%, 71%)
HSVhsv(79, 52%, 96%)
CMYKcmyk(16.4%, 0%, 52.5%, 4.3%)
CIE-LABlab(91.14, -31.94, 56.72)
CIE-LCHlch(91.14, 65.10, 119.39°)
OKLaboklab(91.26% -0.0902 0.1339)
OKLCHoklch(91.26% 0.161 124)
XYZxyz(60.4051, 78.7993, 28.5471)
Luminance0.7880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF474 #9C74F4
analogous
#F4DC74 #CCF474 #8CF474
triadic
#CCF474 #74CCF4 #F474CC
tetradic
#CCF474 #74F4DC #9C74F4 #F4748C
square
#CCF474 #74F4DC #9C74F4 #F4748C
split-complementary
#CCF474 #748CF4 #DC74F4
monochromatic
#9DDC11 #B7F03B #CCF474 #E1F8AD #F5FDE3

Accessibility & contrast

On white

1.25
#CCF474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#CCF474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF474
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF474#FFFFFF#000000##000000
##CCF4741.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FBE57C
Tritanopia (blue-blind)
#D4EAD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf474;
/* rgb */ color: rgb(204, 244, 116);
/* oklch */ color: oklch(91.3% 0.161 124.0);
Tailwind
colors: {
  custom: {
    50: '#def79f',
    500: '#ccf474',
    950: '#000000',
  },
}
SCSS
$custom: #ccf474;
$custom-light: #def79f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf474",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 78.75,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91261,
    "c": 0.16138,
    "h": 124
  },
  "luminance": 0.788
}

Semantic roles & 50–950 ramp

primary
#CCF474
secondary
#6B3ECE
accent
#04E249
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF474

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

Preview Lab → · Contrast checker → · Palette generator →

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