#CCFC7F#CCFC7F

#CCFC7F is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.2% C 0.162 H 126.7°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#CCFC7F
RGBrgb(204, 252, 127)
HSLhsl(83, 95%, 74%)
HSVhsv(83, 50%, 99%)
CMYKcmyk(19%, 0%, 49.6%, 1.2%)
CIE-LABlab(93.45, -34.55, 54.44)
CIE-LCHlch(93.45, 64.48, 122.40°)
OKLaboklab(93.16% -0.0966 0.1297)
OKLCHoklch(93.16% 0.162 126.7)
XYZxyz(63.5428, 83.9897, 32.9385)
Luminance0.8399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFC7F #AF7FFC
analogous
#FCEE7F #CCFC7F #8EFC7F
triadic
#CCFC7F #7FCCFC #FC7FCC
tetradic
#CCFC7F #7FFCEE #AF7FFC #FC7F8E
square
#CCFC7F #7FFCEE #AF7FFC #FC7F8E
split-complementary
#CCFC7F #7F8EFC #EE7FFC
monochromatic
#9CF907 #B4FB43 #CCFC7F #E4FDBB #F3FEE1

Accessibility & contrast

On white

1.18
#CCFC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#CCFC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFC7F
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFC7F#FFFFFF#000000##000000
##CCFC7F1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE74
Deuteranopia (green-blind)
#FFEB86
Tritanopia (blue-blind)
#D2F2DF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ccfc7f;
/* rgb */ color: rgb(204, 252, 127);
/* oklch */ color: oklch(93.2% 0.162 126.7);
Tailwind
colors: {
  custom: {
    50: '#defda7',
    500: '#ccfc7f',
    950: '#000000',
  },
}
SCSS
$custom: #ccfc7f;
$custom-light: #defda7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfc7f",
  "rgb": {
    "r": 204,
    "g": 252,
    "b": 127
  },
  "hsl": {
    "h": 83.04,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93155,
    "c": 0.16173,
    "h": 126.7
  },
  "luminance": 0.8399
}

Semantic roles & 50–950 ramp

primary
#CCFC7F
secondary
#7E45DA
accent
#00E658
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCFC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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