#CCF472#CCF472

#CCF472 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.2% C 0.163 H 123.8°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#CCF472
RGBrgb(204, 244, 114)
HSLhsl(78, 86%, 70%)
HSVhsv(78, 53%, 96%)
CMYKcmyk(16.4%, 0%, 53.3%, 4.3%)
CIE-LABlab(91.12, -32.13, 57.60)
CIE-LCHlch(91.12, 65.95, 119.15°)
OKLaboklab(91.24% -0.0908 0.1356)
OKLCHoklch(91.24% 0.163 123.8)
XYZxyz(60.2900, 78.7533, 27.9410)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF472 #9A72F4
analogous
#F4DB72 #CCF472 #8BF472
triadic
#CCF472 #72CCF4 #F472CC
tetradic
#CCF472 #72F4DB #9A72F4 #F4728B
square
#CCF472 #72F4DB #9A72F4 #F4728B
split-complementary
#CCF472 #728BF4 #DB72F4
monochromatic
#9DDB11 #B7F039 #CCF472 #E1F8AB #F5FDE3

Accessibility & contrast

On white

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

On black

16.75
#CCF472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF472
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF472#FFFFFF#000000##000000
##CCF4721.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf472;
/* rgb */ color: rgb(204, 244, 114);
/* oklch */ color: oklch(91.2% 0.163 123.8);
Tailwind
colors: {
  custom: {
    50: '#def79e',
    500: '#ccf472',
    950: '#000000',
  },
}
SCSS
$custom: #ccf472;
$custom-light: #def79e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf472",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 78.462,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91238,
    "c": 0.1632,
    "h": 123.8
  },
  "luminance": 0.78754
}

Semantic roles & 50–950 ramp

primary
#CCF472
secondary
#693CCE
accent
#03E248
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF472

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

Preview Lab → · Contrast checker → · Palette generator →

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