#CCF56B#CCF56B

#CCF56B is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.4% C 0.171 H 123.6°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#CCF56B
RGBrgb(204, 245, 107)
HSLhsl(78, 87%, 69%)
HSVhsv(78, 56%, 96%)
CMYKcmyk(16.7%, 0%, 56.3%, 3.9%)
CIE-LABlab(91.33, -33.20, 60.93)
CIE-LCHlch(91.33, 69.39, 118.59°)
OKLaboklab(91.38% -0.0945 0.1421)
OKLCHoklch(91.38% 0.171 123.6)
XYZxyz(60.2084, 79.2034, 26.0229)
Luminance0.7920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF56B #946BF5
analogous
#F5D96B #CCF56B #87F56B
triadic
#CCF56B #6BCCF5 #F56BCC
tetradic
#CCF56B #6BF5D9 #946BF5 #F56B87
square
#CCF56B #6BF5D9 #946BF5 #F56B87
split-complementary
#CCF56B #6B87F5 #D96BF5
monochromatic
#9BD70F #B8F132 #CCF56B #E0F9A4 #F4FDDE

Accessibility & contrast

On white

1.25
#CCF56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#CCF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF56B
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF56B#FFFFFF#000000##000000
##CCF56B1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75D
Deuteranopia (green-blind)
#FCE674
Tritanopia (blue-blind)
#D4EAD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf56b;
/* rgb */ color: rgb(204, 245, 107);
/* oklch */ color: oklch(91.4% 0.171 123.6);
Tailwind
colors: {
  custom: {
    50: '#def89a',
    500: '#ccf56b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf56b;
$custom-light: #def89a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf56b",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 77.826,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91379,
    "c": 0.17061,
    "h": 123.6
  },
  "luminance": 0.79204
}

Semantic roles & 50–950 ramp

primary
#CCF56B
secondary
#6336CE
accent
#02E445
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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