#CCF28C#CCF28C

#CCF28C is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.1% C 0.135 H 125.7°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#CCF28C
RGBrgb(204, 242, 140)
HSLhsl(82, 80%, 75%)
HSVhsv(82, 42%, 95%)
CMYKcmyk(15.7%, 0%, 42.1%, 5.1%)
CIE-LABlab(90.89, -28.52, 45.14)
CIE-LCHlch(90.89, 53.39, 122.29°)
OKLaboklab(91.15% -0.0788 0.1098)
OKLCHoklch(91.15% 0.135 125.7)
XYZxyz(61.3872, 78.2346, 36.6726)
Luminance0.7823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF28C #B28CF2
analogous
#F2E58C #CCF28C #99F28C
triadic
#CCF28C #8CCCF2 #F28CCC
tetradic
#CCF28C #8CF2E5 #B28CF2 #F28C99
square
#CCF28C #8CF2E5 #B28CF2 #F28C99
split-complementary
#CCF28C #8C99F2 #E58CF2
monochromatic
#9BE61E #B4EC55 #CCF28C #E4F8C3 #F3FCE4

Accessibility & contrast

On white

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

On black

16.65
#CCF28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF28C
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF28C#FFFFFF#000000##000000
##CCF28C1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE684
Deuteranopia (green-blind)
#F7E491
Tritanopia (blue-blind)
#D2E9D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf28c;
/* rgb */ color: rgb(204, 242, 140);
/* oklch */ color: oklch(91.1% 0.135 125.7);
Tailwind
colors: {
  custom: {
    50: '#ddf6af',
    500: '#ccf28c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf28c;
$custom-light: #ddf6af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf28c",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 140
  },
  "hsl": {
    "h": 82.353,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91148,
    "c": 0.13512,
    "h": 125.7
  },
  "luminance": 0.78235
}

Semantic roles & 50–950 ramp

primary
#CCF28C
secondary
#8154CE
accent
#0ADC58
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF28C

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

Preview Lab → · Contrast checker → · Palette generator →

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