#CCFB7F#CCFB7F

#CCFB7F is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 92.9% C 0.160 H 126.5°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#CCFB7F
RGBrgb(204, 251, 127)
HSLhsl(83, 94%, 74%)
HSVhsv(83, 49%, 98%)
CMYKcmyk(18.7%, 0%, 49.4%, 1.6%)
CIE-LABlab(93.17, -34.09, 54.11)
CIE-LCHlch(93.17, 63.96, 122.21°)
OKLaboklab(92.94% -0.0953 0.129)
OKLCHoklch(92.94% 0.16 126.5)
XYZxyz(63.2296, 83.3633, 32.8341)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFB7F #AE7FFB
analogous
#FBEC7F #CCFB7F #8EFB7F
triadic
#CCFB7F #7FCCFB #FB7FCC
tetradic
#CCFB7F #7FFBEC #AE7FFB #FB7F8E
square
#CCFB7F #7FFBEC #AE7FFB #FB7F8E
split-complementary
#CCFB7F #7F8EFB #EC7FFB
monochromatic
#9DF708 #B4F944 #CCFB7F #E4FDBA #F3FEE1

Accessibility & contrast

On white

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

On black

17.67
#CCFB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFB7F
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFB7F#FFFFFF#000000##000000
##CCFB7F1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED74
Deuteranopia (green-blind)
#FFEB86
Tritanopia (blue-blind)
#D2F1DF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccfb7f;
/* rgb */ color: rgb(204, 251, 127);
/* oklch */ color: oklch(92.9% 0.160 126.5);
Tailwind
colors: {
  custom: {
    50: '#defca7',
    500: '#ccfb7f',
    950: '#000000',
  },
}
SCSS
$custom: #ccfb7f;
$custom-light: #defca7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfb7f",
  "rgb": {
    "r": 204,
    "g": 251,
    "b": 127
  },
  "hsl": {
    "h": 82.742,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92935,
    "c": 0.16039,
    "h": 126.5
  },
  "luminance": 0.83364
}

Semantic roles & 50–950 ramp

primary
#CCFB7F
secondary
#7D46D9
accent
#00E657
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCFB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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