#CCF387#CCF387

#CCF387 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.3% C 0.142 H 125.4°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#CCF387
RGBrgb(204, 243, 135)
HSLhsl(82, 82%, 74%)
HSVhsv(82, 44%, 95%)
CMYKcmyk(16%, 0%, 44.4%, 4.7%)
CIE-LABlab(91.09, -29.55, 47.80)
CIE-LCHlch(91.09, 56.20, 121.73°)
OKLaboklab(91.29% -0.082 0.1155)
OKLCHoklch(91.29% 0.142 125.4)
XYZxyz(61.3254, 78.6873, 34.8743)
Luminance0.7869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF387 #AE87F3
analogous
#F3E487 #CCF387 #96F387
triadic
#CCF387 #87CCF3 #F387CC
tetradic
#CCF387 #87F3E4 #AE87F3 #F38796
square
#CCF387 #87F3E4 #AE87F3 #F38796
split-complementary
#CCF387 #8796F3 #E487F3
monochromatic
#9DE818 #B4ED4F #CCF387 #E4F9BF #F3FCE3

Accessibility & contrast

On white

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

On black

16.74
#CCF387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF387
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF387#FFFFFF#000000##000000
##CCF3871.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE77E
Deuteranopia (green-blind)
#F8E58D
Tritanopia (blue-blind)
#D2EAD9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf387;
/* rgb */ color: rgb(204, 243, 135);
/* oklch */ color: oklch(91.3% 0.142 125.4);
Tailwind
colors: {
  custom: {
    50: '#ddf7ac',
    500: '#ccf387',
    950: '#000000',
  },
}
SCSS
$custom: #ccf387;
$custom-light: #ddf7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf387",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 81.667,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91292,
    "c": 0.14167,
    "h": 125.4
  },
  "luminance": 0.78688
}

Semantic roles & 50–950 ramp

primary
#CCF387
secondary
#7D4FCF
accent
#07DE55
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF387

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

Preview Lab → · Contrast checker → · Palette generator →

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