#CCF78B#CCF78B

#CCF78B is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.2% C 0.143 H 126.8°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#CCF78B
RGBrgb(204, 247, 139)
HSLhsl(84, 87%, 76%)
HSVhsv(84, 44%, 97%)
CMYKcmyk(17.4%, 0%, 43.7%, 3.1%)
CIE-LABlab(92.23, -30.97, 47.31)
CIE-LCHlch(92.23, 56.54, 123.21°)
OKLaboklab(92.22% -0.0857 0.1146)
OKLCHoklch(92.22% 0.143 126.8)
XYZxyz(62.8224, 81.2223, 36.7888)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF78B #B68BF7
analogous
#F7EC8B #CCF78B #96F78B
triadic
#CCF78B #8BCCF7 #F78BCC
tetradic
#CCF78B #8BF7EC #B68BF7 #F78B96
square
#CCF78B #8BF7EC #B68BF7 #F78B96
split-complementary
#CCF78B #8B96F7 #EC8BF7
monochromatic
#9AEF18 #B3F352 #CCF78B #E5FBC4 #F2FDE2

Accessibility & contrast

On white

1.22
#CCF78B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#CCF78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF78B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF78B#FFFFFF#000000##000000
##CCF78B1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA82
Deuteranopia (green-blind)
#FBE891
Tritanopia (blue-blind)
#D1EEDD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf78b;
/* rgb */ color: rgb(204, 247, 139);
/* oklch */ color: oklch(92.2% 0.143 126.8);
Tailwind
colors: {
  custom: {
    50: '#ddfaae',
    500: '#ccf78b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf78b;
$custom-light: #ddfaae;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf78b",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 139
  },
  "hsl": {
    "h": 83.889,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.92224,
    "c": 0.14313,
    "h": 126.8
  },
  "luminance": 0.81223
}

Semantic roles & 50–950 ramp

primary
#CCF78B
secondary
#8651D5
accent
#02E45C
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF78B

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

Preview Lab → · Contrast checker → · Palette generator →

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