#CCF56A#CCF56A

#CCF56A 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#CCF56A
RGBrgb(204, 245, 106)
HSLhsl(78, 87%, 69%)
HSVhsv(78, 57%, 96%)
CMYKcmyk(16.7%, 0%, 56.7%, 3.9%)
CIE-LABlab(91.32, -33.28, 61.35)
CIE-LCHlch(91.32, 69.80, 118.48°)
OKLaboklab(91.37% -0.0948 0.1429)
OKLCHoklch(91.37% 0.171 123.6)
XYZxyz(60.1561, 79.1825, 25.7474)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF56A #936AF5
analogous
#F5D96A #CCF56A #87F56A
triadic
#CCF56A #6ACCF5 #F56ACC
tetradic
#CCF56A #6AF5D9 #936AF5 #F56A87
square
#CCF56A #6AF5D9 #936AF5 #F56A87
split-complementary
#CCF56A #6A87F5 #D96AF5
monochromatic
#9BD60E #B8F131 #CCF56A #E0F9A3 #F3FDDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF56A#FFFFFF#000000##000000
##CCF56A1.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)
#FFE75B
Deuteranopia (green-blind)
#FCE673
Tritanopia (blue-blind)
#D5EAD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf56a;
/* rgb */ color: rgb(204, 245, 106);
/* oklch */ color: oklch(91.4% 0.171 123.6);
Tailwind
colors: {
  custom: {
    50: '#def899',
    500: '#ccf56a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf56a;
$custom-light: #def899;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf56a",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 77.698,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.91369,
    "c": 0.17145,
    "h": 123.6
  },
  "luminance": 0.79183
}

Semantic roles & 50–950 ramp

primary
#CCF56A
secondary
#6235CE
accent
#02E444
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF56A

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

Preview Lab → · Contrast checker → · Palette generator →

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