#CCF99F#CCF99F

#CCF99F is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 93.0% C 0.125 H 130.1°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#CCF99F
RGBrgb(204, 249, 159)
HSLhsl(90, 88%, 80%)
HSVhsv(90, 36%, 98%)
CMYKcmyk(18.1%, 0%, 36.1%, 2.4%)
CIE-LABlab(93.05, -29.47, 38.60)
CIE-LCHlch(93.05, 48.56, 127.36°)
OKLaboklab(92.98% -0.0805 0.0955)
OKLCHoklch(92.98% 0.125 130.1)
XYZxyz(65.0345, 83.0909, 45.4060)
Luminance0.8309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF99F #CC9FF9
analogous
#F9F99F #CCF99F #9FF99F
triadic
#CCF99F #9FCCF9 #F99FCC
tetradic
#CCF99F #9FF9F9 #CC9FF9 #F99F9F
square
#CCF99F #9FF9F9 #CC9FF9 #F99F9F
split-complementary
#CCF99F #9F9FF9 #F99FF9
monochromatic
#8FF22C #ADF565 #CCF99F #EBFDD9 #F0FDE2

Accessibility & contrast

On white

1.19
#CCF99F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#CCF99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF99F
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF99F#FFFFFF#000000##000000
##CCF99F1.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED99
Deuteranopia (green-blind)
#FAEAA4
Tritanopia (blue-blind)
#CFF2E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccf99f;
/* rgb */ color: rgb(204, 249, 159);
/* oklch */ color: oklch(93.0% 0.125 130.1);
Tailwind
colors: {
  custom: {
    50: '#dcfbbc',
    500: '#ccf99f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf99f;
$custom-light: #dcfbbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf99f",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 159
  },
  "hsl": {
    "h": 90,
    "s": 88.235,
    "l": 80
  },
  "oklch": {
    "l": 0.92978,
    "c": 0.12492,
    "h": 130.1
  },
  "luminance": 0.83092
}

Semantic roles & 50–950 ramp

primary
#CCF99F
secondary
#9E62DA
accent
#01E573
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #CCF99F

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

Preview Lab → · Contrast checker → · Palette generator →

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