#CCF278#CCF278

#CCF278 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.9% C 0.155 H 123.8°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#CCF278
RGBrgb(204, 242, 120)
HSLhsl(79, 82%, 71%)
HSVhsv(79, 50%, 95%)
CMYKcmyk(15.7%, 0%, 50.4%, 5.1%)
CIE-LABlab(90.64, -30.64, 54.30)
CIE-LCHlch(90.64, 62.35, 119.43°)
OKLaboklab(90.87% -0.0862 0.1289)
OKLCHoklch(90.87% 0.155 123.8)
XYZxyz(60.0442, 77.6974, 29.5995)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF278 #9E78F2
analogous
#F2DB78 #CCF278 #8FF278
triadic
#CCF278 #78CCF2 #F278CC
tetradic
#CCF278 #78F2DB #9E78F2 #F2788F
square
#CCF278 #78F2DB #9E78F2 #F2788F
split-complementary
#CCF278 #788FF2 #DB78F2
monochromatic
#9DDB15 #B7ED40 #CCF278 #E1F7B0 #F4FCE3

Accessibility & contrast

On white

1.27
#CCF278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#CCF278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF278
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF278#FFFFFF#000000##000000
##CCF2781.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56D
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#D4E8D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf278;
/* rgb */ color: rgb(204, 242, 120);
/* oklch */ color: oklch(90.9% 0.155 123.8);
Tailwind
colors: {
  custom: {
    50: '#ddf6a2',
    500: '#ccf278',
    950: '#000000',
  },
}
SCSS
$custom: #ccf278;
$custom-light: #ddf6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf278",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 78.689,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90872,
    "c": 0.15506,
    "h": 123.8
  },
  "luminance": 0.77698
}

Semantic roles & 50–950 ramp

primary
#CCF278
secondary
#6D42CC
accent
#07DF4A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF278

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

Preview Lab → · Contrast checker → · Palette generator →

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