#CCF988#CCF988

#CCF988 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.6% C 0.149 H 126.9°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#CCF988
RGBrgb(204, 249, 136)
HSLhsl(84, 90%, 75%)
HSVhsv(84, 45%, 98%)
CMYKcmyk(18.1%, 0%, 45.4%, 2.4%)
CIE-LABlab(92.74, -32.23, 49.37)
CIE-LCHlch(92.74, 58.95, 123.14°)
OKLaboklab(92.62% -0.0894 0.1191)
OKLCHoklch(92.62% 0.149 126.9)
XYZxyz(63.2211, 82.3656, 35.8552)
Luminance0.8237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF988 #B588F9
analogous
#F9EE88 #CCF988 #93F988
triadic
#CCF988 #88CCF9 #F988CC
tetradic
#CCF988 #88F9EE #B588F9 #F98893
square
#CCF988 #88F9EE #B588F9 #F98893
split-complementary
#CCF988 #8893F9 #EE88F9
monochromatic
#9AF313 #B3F64E #CCF988 #E5FCC2 #F3FEE2

Accessibility & contrast

On white

1.20
#CCF988 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#CCF988 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF988
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF988#FFFFFF#000000##000000
##CCF9881.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FDE98E
Tritanopia (blue-blind)
#D2F0DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf988;
/* rgb */ color: rgb(204, 249, 136);
/* oklch */ color: oklch(92.6% 0.149 126.9);
Tailwind
colors: {
  custom: {
    50: '#ddfbac',
    500: '#ccf988',
    950: '#000000',
  },
}
SCSS
$custom: #ccf988;
$custom-light: #ddfbac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf988",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 136
  },
  "hsl": {
    "h": 83.894,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.92618,
    "c": 0.14892,
    "h": 126.9
  },
  "luminance": 0.82366
}

Semantic roles & 50–950 ramp

primary
#CCF988
secondary
#854ED7
accent
#00E65B
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF988

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

Preview Lab → · Contrast checker → · Palette generator →

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