#CCF287#CCF287

#CCF287 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.140 H 125.1°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#CCF287
RGBrgb(204, 242, 135)
HSLhsl(81, 80%, 74%)
HSVhsv(81, 44%, 95%)
CMYKcmyk(15.7%, 0%, 44.2%, 5.1%)
CIE-LABlab(90.82, -29.09, 47.47)
CIE-LCHlch(90.82, 55.67, 121.50°)
OKLaboklab(91.07% -0.0807 0.1148)
OKLCHoklch(91.07% 0.14 125.1)
XYZxyz(61.0269, 78.0905, 34.7748)
Luminance0.7809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF287 #AD87F2
analogous
#F2E287 #CCF287 #97F287
triadic
#CCF287 #87CCF2 #F287CC
tetradic
#CCF287 #87F2E2 #AD87F2 #F28797
square
#CCF287 #87F2E2 #AD87F2 #F28797
split-complementary
#CCF287 #8797F2 #E287F2
monochromatic
#9DE619 #B5EC50 #CCF287 #E3F8BE #F3FCE3

Accessibility & contrast

On white

1.26
#CCF287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#CCF287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF287
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF287#FFFFFF#000000##000000
##CCF2871.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67E
Deuteranopia (green-blind)
#F7E48D
Tritanopia (blue-blind)
#D2E9D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf287;
/* rgb */ color: rgb(204, 242, 135);
/* oklch */ color: oklch(91.1% 0.140 125.1);
Tailwind
colors: {
  custom: {
    50: '#ddf6ac',
    500: '#ccf287',
    950: '#000000',
  },
}
SCSS
$custom: #ccf287;
$custom-light: #ddf6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf287",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 135
  },
  "hsl": {
    "h": 81.308,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91074,
    "c": 0.14029,
    "h": 125.1
  },
  "luminance": 0.78091
}

Semantic roles & 50–950 ramp

primary
#CCF287
secondary
#7C4FCE
accent
#09DD54
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF287

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

Preview Lab → · Contrast checker → · Palette generator →

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