#CCF787#CCF787

#CCF787 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.2% C 0.147 H 126.4°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#CCF787
RGBrgb(204, 247, 135)
HSLhsl(83, 88%, 75%)
HSVhsv(83, 45%, 97%)
CMYKcmyk(17.4%, 0%, 45.3%, 3.1%)
CIE-LABlab(92.18, -31.41, 49.15)
CIE-LCHlch(92.18, 58.33, 122.58°)
OKLaboklab(92.17% -0.0872 0.1185)
OKLCHoklch(92.17% 0.147 126.4)
XYZxyz(62.5354, 81.1075, 35.2777)
Luminance0.8111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF787 #B287F7
analogous
#F7EA87 #CCF787 #94F787
triadic
#CCF787 #87CCF7 #F787CC
tetradic
#CCF787 #87F7EA #B287F7 #F78794
square
#CCF787 #87F7EA #B287F7 #F78794
split-complementary
#CCF787 #8794F7 #EA87F7
monochromatic
#9BEF14 #B4F34E #CCF787 #E4FBC0 #F3FDE2

Accessibility & contrast

On white

1.22
#CCF787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#CCF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF787
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF787#FFFFFF#000000##000000
##CCF7871.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#FBE88D
Tritanopia (blue-blind)
#D2EEDD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf787;
/* rgb */ color: rgb(204, 247, 135);
/* oklch */ color: oklch(92.2% 0.147 126.4);
Tailwind
colors: {
  custom: {
    50: '#ddfaac',
    500: '#ccf787',
    950: '#000000',
  },
}
SCSS
$custom: #ccf787;
$custom-light: #ddfaac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf787",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 83.036,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92166,
    "c": 0.14717,
    "h": 126.4
  },
  "luminance": 0.81108
}

Semantic roles & 50–950 ramp

primary
#CCF787
secondary
#814ED4
accent
#01E458
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF787

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

Preview Lab → · Contrast checker → · Palette generator →

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