#CCF248#CCF248

#CCF248 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.4% C 0.193 H 121.4°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#CCF248
RGBrgb(204, 242, 72)
HSLhsl(73, 87%, 62%)
HSVhsv(73, 70%, 95%)
CMYKcmyk(15.7%, 0%, 70.2%, 5.1%)
CIE-LABlab(90.23, -34.23, 73.58)
CIE-LCHlch(90.23, 81.16, 114.95°)
OKLaboklab(90.41% -0.1004 0.1643)
OKLCHoklch(90.41% 0.193 121.4)
XYZxyz(57.8245, 76.8095, 17.9090)
Luminance0.7681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF248 #6E48F2
analogous
#F2C348 #CCF248 #77F248
triadic
#CCF248 #48CCF2 #F248CC
tetradic
#CCF248 #48F2C3 #6E48F2 #F24877
square
#CCF248 #48F2C3 #6E48F2 #F24877
split-complementary
#CCF248 #4877F2 #C348F2
monochromatic
#8EB30D #BBEC11 #CCF248 #DCF681 #ECFABA

Accessibility & contrast

On white

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

On black

16.36
#CCF248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF248
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF248#FFFFFF#000000##000000
##CCF2481.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE42A
Deuteranopia (green-blind)
#FCE356
Tritanopia (blue-blind)
#D7E6D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf248;
/* rgb */ color: rgb(204, 242, 72);
/* oklch */ color: oklch(90.4% 0.193 121.4);
Tailwind
colors: {
  custom: {
    50: '#dff685',
    500: '#ccf248',
    950: '#000000',
  },
}
SCSS
$custom: #ccf248;
$custom-light: #dff685;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf248",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 72
  },
  "hsl": {
    "h": 73.412,
    "s": 86.735,
    "l": 61.569
  },
  "oklch": {
    "l": 0.90412,
    "c": 0.19259,
    "h": 121.4
  },
  "luminance": 0.7681
}

Semantic roles & 50–950 ramp

primary
#CCF248
secondary
#4A2CB3
accent
#02E335
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CCF248

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

Preview Lab → · Contrast checker → · Palette generator →

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