#CCF187#CCF187

#CCF187 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.9% C 0.139 H 124.9°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#CCF187
RGBrgb(204, 241, 135)
HSLhsl(81, 79%, 74%)
HSVhsv(81, 44%, 95%)
CMYKcmyk(15.4%, 0%, 44%, 5.5%)
CIE-LABlab(90.55, -28.62, 47.13)
CIE-LCHlch(90.55, 55.13, 121.27°)
OKLaboklab(90.86% -0.0794 0.114)
OKLCHoklch(90.86% 0.139 124.9)
XYZxyz(60.7301, 77.4968, 34.6759)
Luminance0.7750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF187 #AC87F1
analogous
#F1E187 #CCF187 #97F187
triadic
#CCF187 #87CCF1 #F187CC
tetradic
#CCF187 #87F1E1 #AC87F1 #F18797
square
#CCF187 #87F1E1 #AC87F1 #F18797
split-complementary
#CCF187 #8797F1 #E187F1
monochromatic
#9DE31A #B5EB50 #CCF187 #E3F7BE #F3FCE4

Accessibility & contrast

On white

1.27
#CCF187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#CCF187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF187
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF187#FFFFFF#000000##000000
##CCF1871.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE57E
Deuteranopia (green-blind)
#F6E48D
Tritanopia (blue-blind)
#D2E8D8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf187;
/* rgb */ color: rgb(204, 241, 135);
/* oklch */ color: oklch(90.9% 0.139 124.9);
Tailwind
colors: {
  custom: {
    50: '#ddf5ac',
    500: '#ccf187',
    950: '#000000',
  },
}
SCSS
$custom: #ccf187;
$custom-light: #ddf5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf187",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 135
  },
  "hsl": {
    "h": 80.943,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90856,
    "c": 0.13891,
    "h": 124.9
  },
  "luminance": 0.77497
}

Semantic roles & 50–950 ramp

primary
#CCF187
secondary
#7B50CD
accent
#0ADB53
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF187

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

Preview Lab → · Contrast checker → · Palette generator →

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