#CCF28B#CCF28B

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

Color values

HEX#CCF28B
RGBrgb(204, 242, 139)
HSLhsl(82, 80%, 75%)
HSVhsv(82, 43%, 95%)
CMYKcmyk(15.7%, 0%, 42.6%, 5.1%)
CIE-LABlab(90.87, -28.64, 45.60)
CIE-LCHlch(90.87, 53.85, 122.13°)
OKLaboklab(91.13% -0.0792 0.1108)
OKLCHoklch(91.13% 0.136 125.6)
XYZxyz(61.3138, 78.2052, 36.2860)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF28B #B18BF2
analogous
#F2E58B #CCF28B #99F28B
triadic
#CCF28B #8BCCF2 #F28BCC
tetradic
#CCF28B #8BF2E5 #B18BF2 #F28B99
square
#CCF28B #8BF2E5 #B18BF2 #F28B99
split-complementary
#CCF28B #8B99F2 #E58BF2
monochromatic
#9CE61D #B4EC54 #CCF28B #E4F8C2 #F3FCE3

Accessibility & contrast

On white

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

On black

16.64
#CCF28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF28B
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF28B#FFFFFF#000000##000000
##CCF28B1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf28b;
/* rgb */ color: rgb(204, 242, 139);
/* oklch */ color: oklch(91.1% 0.136 125.6);
Tailwind
colors: {
  custom: {
    50: '#ddf6ae',
    500: '#ccf28b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf28b;
$custom-light: #ddf6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf28b",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 139
  },
  "hsl": {
    "h": 82.136,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91133,
    "c": 0.13617,
    "h": 125.6
  },
  "luminance": 0.78206
}

Semantic roles & 50–950 ramp

primary
#CCF28B
secondary
#8053CE
accent
#09DC57
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF28B

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

Preview Lab → · Contrast checker → · Palette generator →

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