#CCF572#CCF572

#CCF572 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.5% C 0.164 H 124.1°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#CCF572
RGBrgb(204, 245, 114)
HSLhsl(79, 87%, 70%)
HSVhsv(79, 53%, 96%)
CMYKcmyk(16.7%, 0%, 53.5%, 3.9%)
CIE-LABlab(91.40, -32.59, 57.92)
CIE-LCHlch(91.40, 66.46, 119.36°)
OKLaboklab(91.46% -0.0921 0.1363)
OKLCHoklch(91.46% 0.164 124.1)
XYZxyz(60.5917, 79.3567, 28.0415)
Luminance0.7936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF572 #9B72F5
analogous
#F5DD72 #CCF572 #8AF572
triadic
#CCF572 #72CCF5 #F572CC
tetradic
#CCF572 #72F5DD #9B72F5 #F5728A
square
#CCF572 #72F5DD #9B72F5 #F5728A
split-complementary
#CCF572 #728AF5 #DD72F5
monochromatic
#9DDD10 #B7F139 #CCF572 #E1F9AB #F5FDE2

Accessibility & contrast

On white

1.24
#CCF572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#CCF572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF572
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF572#FFFFFF#000000##000000
##CCF5721.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE865
Deuteranopia (green-blind)
#FCE67A
Tritanopia (blue-blind)
#D4EBD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf572;
/* rgb */ color: rgb(204, 245, 114);
/* oklch */ color: oklch(91.5% 0.164 124.1);
Tailwind
colors: {
  custom: {
    50: '#def89e',
    500: '#ccf572',
    950: '#000000',
  },
}
SCSS
$custom: #ccf572;
$custom-light: #def89e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf572",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 114
  },
  "hsl": {
    "h": 78.779,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91458,
    "c": 0.16448,
    "h": 124.1
  },
  "luminance": 0.79357
}

Semantic roles & 50–950 ramp

primary
#CCF572
secondary
#6A3CCF
accent
#02E349
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF572

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

Preview Lab → · Contrast checker → · Palette generator →

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