#CCFC7B#CCFC7B

#CCFC7B is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.1% C 0.165 H 126.3°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#CCFC7B
RGBrgb(204, 252, 123)
HSLhsl(82, 96%, 74%)
HSVhsv(82, 51%, 99%)
CMYKcmyk(19%, 0%, 51.2%, 1.2%)
CIE-LABlab(93.40, -34.95, 56.22)
CIE-LCHlch(93.40, 66.19, 121.87°)
OKLaboklab(93.11% -0.098 0.1333)
OKLCHoklch(93.11% 0.165 126.3)
XYZxyz(63.2872, 83.8875, 31.5927)
Luminance0.8389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFC7B #AB7BFC
analogous
#FCEC7B #CCFC7B #8BFC7B
triadic
#CCFC7B #7BCCFC #FC7BCC
tetradic
#CCFC7B #7BFCEC #AB7BFC #FC7B8B
square
#CCFC7B #7BFCEC #AB7BFC #FC7B8B
split-complementary
#CCFC7B #7B8BFC #EC7BFC
monochromatic
#9DF706 #B5FB3F #CCFC7B #E3FDB7 #F3FEE1

Accessibility & contrast

On white

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

On black

17.78
#CCFC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFC7B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFC7B#FFFFFF#000000##000000
##CCFC7B1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6F
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#D3F2DF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ccfc7b;
/* rgb */ color: rgb(204, 252, 123);
/* oklch */ color: oklch(93.1% 0.165 126.3);
Tailwind
colors: {
  custom: {
    50: '#defda4',
    500: '#ccfc7b',
    950: '#000000',
  },
}
SCSS
$custom: #ccfc7b;
$custom-light: #defda4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfc7b",
  "rgb": {
    "r": 204,
    "g": 252,
    "b": 123
  },
  "hsl": {
    "h": 82.326,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93105,
    "c": 0.16545,
    "h": 126.3
  },
  "luminance": 0.83888
}

Semantic roles & 50–950 ramp

primary
#CCFC7B
secondary
#7A42D9
accent
#00E655
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCFC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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