#CCFA72#CCFA72

#CCFA72 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.6% C 0.171 H 125.2°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#CCFA72
RGBrgb(204, 250, 114)
HSLhsl(80, 93%, 71%)
HSVhsv(80, 54%, 98%)
CMYKcmyk(18.4%, 0%, 54.4%, 2%)
CIE-LABlab(92.76, -34.88, 59.51)
CIE-LCHlch(92.76, 68.97, 120.37°)
OKLaboklab(92.56% -0.0985 0.1397)
OKLCHoklch(92.56% 0.171 125.2)
XYZxyz(62.1248, 82.4229, 28.5526)
Luminance0.8242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA72 #A072FA
analogous
#FAE472 #CCFA72 #88FA72
triadic
#CCFA72 #72CCFA #FA72CC
tetradic
#CCFA72 #72FAE4 #A072FA #FA7288
square
#CCFA72 #72FAE4 #A072FA #FA7288
split-complementary
#CCFA72 #7288FA #E472FA
monochromatic
#9DE908 #B7F837 #CCFA72 #E1FCAD #F4FEE1

Accessibility & contrast

On white

1.20
#CCFA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#CCFA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA72
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA72#FFFFFF#000000##000000
##CCFA721.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC64
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#D3F0DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccfa72;
/* rgb */ color: rgb(204, 250, 114);
/* oklch */ color: oklch(92.6% 0.171 125.2);
Tailwind
colors: {
  custom: {
    50: '#defc9e',
    500: '#ccfa72',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa72;
$custom-light: #defc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa72",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 80.294,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92558,
    "c": 0.17094,
    "h": 125.2
  },
  "luminance": 0.82423
}

Semantic roles & 50–950 ramp

primary
#CCFA72
secondary
#6F3BD6
accent
#00E64E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCFA72

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

Preview Lab → · Contrast checker → · Palette generator →

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