#CCF56C#CCF56C

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

Color values

HEX#CCF56C
RGBrgb(204, 245, 108)
HSLhsl(78, 87%, 69%)
HSVhsv(78, 56%, 96%)
CMYKcmyk(16.7%, 0%, 55.9%, 3.9%)
CIE-LABlab(91.34, -33.11, 60.50)
CIE-LCHlch(91.34, 68.97, 118.69°)
OKLaboklab(91.39% -0.0941 0.1413)
OKLCHoklch(91.39% 0.17 123.7)
XYZxyz(60.2613, 79.2246, 26.3016)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF56C #956CF5
analogous
#F5D96C #CCF56C #88F56C
triadic
#CCF56C #6CCCF5 #F56CCC
tetradic
#CCF56C #6CF5D9 #956CF5 #F56C88
square
#CCF56C #6CF5D9 #956CF5 #F56C88
split-complementary
#CCF56C #6C88F5 #D96CF5
monochromatic
#9CD80F #B8F133 #CCF56C #E0F9A5 #F4FDDF

Accessibility & contrast

On white

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

On black

16.85
#CCF56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF56C
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF56C#FFFFFF#000000##000000
##CCF56C1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf56c;
/* rgb */ color: rgb(204, 245, 108);
/* oklch */ color: oklch(91.4% 0.170 123.7);
Tailwind
colors: {
  custom: {
    50: '#def89a',
    500: '#ccf56c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf56c;
$custom-light: #def89a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf56c",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 77.956,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9139,
    "c": 0.16975,
    "h": 123.7
  },
  "luminance": 0.79225
}

Semantic roles & 50–950 ramp

primary
#CCF56C
secondary
#6437CF
accent
#02E445
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF56C

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

Preview Lab → · Contrast checker → · Palette generator →

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