#CCF87D#CCF87D

#CCF87D is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.3% C 0.158 H 125.6°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CCF87D
RGBrgb(204, 248, 125)
HSLhsl(81, 90%, 73%)
HSVhsv(81, 50%, 97%)
CMYKcmyk(17.7%, 0%, 49.6%, 2.7%)
CIE-LABlab(92.33, -32.92, 54.02)
CIE-LCHlch(92.33, 63.26, 121.36°)
OKLaboklab(92.25% -0.0922 0.1287)
OKLCHoklch(92.25% 0.158 125.6)
XYZxyz(62.1708, 81.4522, 31.8445)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF87D #A97DF8
analogous
#F8E67D #CCF87D #8EF87D
triadic
#CCF87D #7DCCF8 #F87DCC
tetradic
#CCF87D #7DF8E6 #A97DF8 #F87D8E
square
#CCF87D #7DF8E6 #A97DF8 #F87D8E
split-complementary
#CCF87D #7D8EF8 #E67DF8
monochromatic
#9DEE0D #B5F543 #CCF87D #E3FBB7 #F4FDE2

Accessibility & contrast

On white

1.21
#CCF87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#CCF87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF87D
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF87D#FFFFFF#000000##000000
##CCF87D1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FDE884
Tritanopia (blue-blind)
#D3EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf87d;
/* rgb */ color: rgb(204, 248, 125);
/* oklch */ color: oklch(92.3% 0.158 125.6);
Tailwind
colors: {
  custom: {
    50: '#defaa5',
    500: '#ccf87d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf87d;
$custom-light: #defaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf87d",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 81.463,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92251,
    "c": 0.15828,
    "h": 125.6
  },
  "luminance": 0.81453
}

Semantic roles & 50–950 ramp

primary
#CCF87D
secondary
#7845D4
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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