#CCFB8E#CCFB8E

#CCFB8E is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.1% C 0.146 H 128.0°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#CCFB8E
RGBrgb(204, 251, 142)
HSLhsl(86, 93%, 77%)
HSVhsv(86, 43%, 98%)
CMYKcmyk(18.7%, 0%, 43.4%, 1.6%)
CIE-LABlab(93.36, -32.48, 47.28)
CIE-LCHlch(93.36, 57.36, 124.49°)
OKLaboklab(93.14% -0.0898 0.1147)
OKLCHoklch(93.14% 0.146 128)
XYZxyz(64.2809, 83.7838, 38.3712)
Luminance0.8378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFB8E #BD8EFB
analogous
#FBF48E #CCFB8E #96FB8E
triadic
#CCFB8E #8ECCFB #FB8ECC
tetradic
#CCFB8E #8EFBF4 #BD8EFB #FB8E96
square
#CCFB8E #8EFBF4 #BD8EFB #FB8E96
split-complementary
#CCFB8E #8E96FB #F48EFB
monochromatic
#97F718 #B1F953 #CCFB8E #E7FDC9 #F2FEE1

Accessibility & contrast

On white

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

On black

17.76
#CCFB8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFB8E
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFB8E#FFFFFF#000000##000000
##CCFB8E1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE85
Deuteranopia (green-blind)
#FEEB94
Tritanopia (blue-blind)
#D1F2E1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ccfb8e;
/* rgb */ color: rgb(204, 251, 142);
/* oklch */ color: oklch(93.1% 0.146 128.0);
Tailwind
colors: {
  custom: {
    50: '#ddfcb1',
    500: '#ccfb8e',
    950: '#000000',
  },
}
SCSS
$custom: #ccfb8e;
$custom-light: #ddfcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfb8e",
  "rgb": {
    "r": 204,
    "g": 251,
    "b": 142
  },
  "hsl": {
    "h": 85.872,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93142,
    "c": 0.14565,
    "h": 128
  },
  "luminance": 0.83785
}

Semantic roles & 50–950 ramp

primary
#CCFB8E
secondary
#8D53DB
accent
#00E663
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCFB8E

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

Preview Lab → · Contrast checker → · Palette generator →

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