#CCF56F#CCF56F

#CCF56F is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.4% C 0.167 H 123.9°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#CCF56F
RGBrgb(204, 245, 111)
HSLhsl(78, 87%, 70%)
HSVhsv(78, 55%, 96%)
CMYKcmyk(16.7%, 0%, 54.7%, 3.9%)
CIE-LABlab(91.37, -32.86, 59.22)
CIE-LCHlch(91.37, 67.72, 119.02°)
OKLaboklab(91.42% -0.0931 0.1388)
OKLCHoklch(91.42% 0.167 123.9)
XYZxyz(60.4237, 79.2895, 27.1570)
Luminance0.7929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF56F #986FF5
analogous
#F5DB6F #CCF56F #89F56F
triadic
#CCF56F #6FCCF5 #F56FCC
tetradic
#CCF56F #6FF5DB #986FF5 #F56F89
square
#CCF56F #6FF5DB #986FF5 #F56F89
split-complementary
#CCF56F #6F89F5 #DB6FF5
monochromatic
#9CDA0F #B8F136 #CCF56F #E0F9A8 #F5FDE1

Accessibility & contrast

On white

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

On black

16.86
#CCF56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF56F
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF56F#FFFFFF#000000##000000
##CCF56F1.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf56f;
/* rgb */ color: rgb(204, 245, 111);
/* oklch */ color: oklch(91.4% 0.167 123.9);
Tailwind
colors: {
  custom: {
    50: '#def89c',
    500: '#ccf56f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf56f;
$custom-light: #def89c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf56f",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 78.358,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91423,
    "c": 0.16715,
    "h": 123.9
  },
  "luminance": 0.7929
}

Semantic roles & 50–950 ramp

primary
#CCF56F
secondary
#6739CF
accent
#02E447
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF56F

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

Preview Lab → · Contrast checker → · Palette generator →

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