#CCF487#CCF487

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

Color values

HEX#CCF487
RGBrgb(204, 244, 135)
HSLhsl(82, 83%, 74%)
HSVhsv(82, 45%, 96%)
CMYKcmyk(16.4%, 0%, 44.7%, 4.3%)
CIE-LABlab(91.36, -30.02, 48.14)
CIE-LCHlch(91.36, 56.73, 121.95°)
OKLaboklab(91.51% -0.0833 0.1163)
OKLCHoklch(91.51% 0.143 125.6)
XYZxyz(61.6254, 79.2875, 34.9743)
Luminance0.7929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF487 #AF87F4
analogous
#F4E587 #CCF487 #96F487
triadic
#CCF487 #87CCF4 #F487CC
tetradic
#CCF487 #87F4E5 #AF87F4 #F48796
square
#CCF487 #87F4E5 #AF87F4 #F48796
split-complementary
#CCF487 #8796F4 #E587F4
monochromatic
#9CEA17 #B4EF4F #CCF487 #E4F9BF #F3FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF487#FFFFFF#000000##000000
##CCF4871.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)
#FEE87E
Deuteranopia (green-blind)
#F9E68D
Tritanopia (blue-blind)
#D2EBDA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf487;
/* rgb */ color: rgb(204, 244, 135);
/* oklch */ color: oklch(91.5% 0.143 125.6);
Tailwind
colors: {
  custom: {
    50: '#ddf7ac',
    500: '#ccf487',
    950: '#000000',
  },
}
SCSS
$custom: #ccf487;
$custom-light: #ddf7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf487",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 135
  },
  "hsl": {
    "h": 82.018,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91511,
    "c": 0.14304,
    "h": 125.6
  },
  "luminance": 0.79288
}

Semantic roles & 50–950 ramp

primary
#CCF487
secondary
#7E4FD0
accent
#06E056
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF487

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

Preview Lab → · Contrast checker → · Palette generator →

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