#CCF87B#CCF87B

#CCF87B is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.2% C 0.160 H 125.4°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#CCF87B
RGBrgb(204, 248, 123)
HSLhsl(81, 90%, 73%)
HSVhsv(81, 50%, 97%)
CMYKcmyk(17.7%, 0%, 50.4%, 2.7%)
CIE-LABlab(92.31, -33.12, 54.92)
CIE-LCHlch(92.31, 64.13, 121.09°)
OKLaboklab(92.23% -0.0929 0.1305)
OKLCHoklch(92.23% 0.16 125.4)
XYZxyz(62.0443, 81.4017, 31.1784)
Luminance0.8140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF87B #A77BF8
analogous
#F8E57B #CCF87B #8DF87B
triadic
#CCF87B #7BCCF8 #F87BCC
tetradic
#CCF87B #7BF8E5 #A77BF8 #F87B8D
square
#CCF87B #7BF8E5 #A77BF8 #F87B8D
split-complementary
#CCF87B #7B8DF8 #E57BF8
monochromatic
#9DEC0D #B6F541 #CCF87B #E2FBB5 #F4FDE2

Accessibility & contrast

On white

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

On black

17.28
#CCF87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF87B
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF87B#FFFFFF#000000##000000
##CCF87B1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB70
Deuteranopia (green-blind)
#FDE882
Tritanopia (blue-blind)
#D3EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf87b;
/* rgb */ color: rgb(204, 248, 123);
/* oklch */ color: oklch(92.2% 0.160 125.4);
Tailwind
colors: {
  custom: {
    50: '#defaa4',
    500: '#ccf87b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf87b;
$custom-light: #defaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf87b",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 81.12,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92225,
    "c": 0.16016,
    "h": 125.4
  },
  "luminance": 0.81402
}

Semantic roles & 50–950 ramp

primary
#CCF87B
secondary
#7643D4
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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