#CCFB7E#CCFB7E

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

Color values

HEX#CCFB7E
RGBrgb(204, 251, 126)
HSLhsl(83, 94%, 74%)
HSVhsv(83, 50%, 98%)
CMYKcmyk(18.7%, 0%, 49.8%, 1.6%)
CIE-LABlab(93.16, -34.20, 54.56)
CIE-LCHlch(93.16, 64.39, 122.08°)
OKLaboklab(92.92% -0.0957 0.1299)
OKLCHoklch(92.92% 0.161 126.4)
XYZxyz(63.1647, 83.3374, 32.4926)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFB7E #AD7EFB
analogous
#FBEC7E #CCFB7E #8EFB7E
triadic
#CCFB7E #7ECCFB #FB7ECC
tetradic
#CCFB7E #7EFBEC #AD7EFB #FB7E8E
square
#CCFB7E #7EFBEC #AD7EFB #FB7E8E
split-complementary
#CCFB7E #7E8EFB #EC7EFB
monochromatic
#9DF708 #B5F943 #CCFB7E #E3FDB9 #F3FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCFB7E#FFFFFF#000000##000000
##CCFB7E1.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)
#FFED73
Deuteranopia (green-blind)
#FFEB85
Tritanopia (blue-blind)
#D2F1DE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccfb7e;
/* rgb */ color: rgb(204, 251, 126);
/* oklch */ color: oklch(92.9% 0.161 126.4);
Tailwind
colors: {
  custom: {
    50: '#defca6',
    500: '#ccfb7e',
    950: '#000000',
  },
}
SCSS
$custom: #ccfb7e;
$custom-light: #defca6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfb7e",
  "rgb": {
    "r": 204,
    "g": 251,
    "b": 126
  },
  "hsl": {
    "h": 82.56,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92922,
    "c": 0.16134,
    "h": 126.4
  },
  "luminance": 0.83338
}

Semantic roles & 50–950 ramp

primary
#CCFB7E
secondary
#7C45D9
accent
#00E656
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCFB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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