#CCF28E#CCF28E

#CCF28E is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.2% C 0.133 H 125.9°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#CCF28E
RGBrgb(204, 242, 142)
HSLhsl(83, 79%, 75%)
HSVhsv(83, 41%, 95%)
CMYKcmyk(15.7%, 0%, 41.3%, 5.1%)
CIE-LABlab(90.91, -28.29, 44.20)
CIE-LCHlch(90.91, 52.48, 122.62°)
OKLaboklab(91.18% -0.078 0.1077)
OKLCHoklch(91.18% 0.133 125.9)
XYZxyz(61.5360, 78.2941, 37.4563)
Luminance0.7830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF28E #B48EF2
analogous
#F2E68E #CCF28E #9AF28E
triadic
#CCF28E #8ECCF2 #F28ECC
tetradic
#CCF28E #8EF2E6 #B48EF2 #F28E9A
square
#CCF28E #8EF2E6 #B48EF2 #F28E9A
split-complementary
#CCF28E #8E9AF2 #E68EF2
monochromatic
#9AE520 #B3EC57 #CCF28E #E5F8C5 #F3FCE4

Accessibility & contrast

On white

1.26
#CCF28E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#CCF28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF28E
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF28E#FFFFFF#000000##000000
##CCF28E1.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE686
Deuteranopia (green-blind)
#F6E493
Tritanopia (blue-blind)
#D2EADA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf28e;
/* rgb */ color: rgb(204, 242, 142);
/* oklch */ color: oklch(91.2% 0.133 125.9);
Tailwind
colors: {
  custom: {
    50: '#ddf6b0',
    500: '#ccf28e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf28e;
$custom-light: #ddf6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf28e",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 142
  },
  "hsl": {
    "h": 82.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91179,
    "c": 0.13302,
    "h": 125.9
  },
  "luminance": 0.78295
}

Semantic roles & 50–950 ramp

primary
#CCF28E
secondary
#8456CF
accent
#0ADC5A
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151711
muted
#848581

Preview Lab

Preview with #CCF28E

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

Preview Lab → · Contrast checker → · Palette generator →

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