#CCF277#CCF277

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

Color values

HEX#CCF277
RGBrgb(204, 242, 119)
HSLhsl(79, 83%, 71%)
HSVhsv(79, 51%, 95%)
CMYKcmyk(15.7%, 0%, 50.8%, 5.1%)
CIE-LABlab(90.63, -30.73, 54.75)
CIE-LCHlch(90.63, 62.79, 119.31°)
OKLaboklab(90.86% -0.0865 0.1298)
OKLCHoklch(90.86% 0.156 123.7)
XYZxyz(59.9839, 77.6732, 29.2815)
Luminance0.7767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF277 #9D77F2
analogous
#F2DB77 #CCF277 #8EF277
triadic
#CCF277 #77CCF2 #F277CC
tetradic
#CCF277 #77F2DB #9D77F2 #F2778E
square
#CCF277 #77F2DB #9D77F2 #F2778E
split-complementary
#CCF277 #778EF2 #DB77F2
monochromatic
#9DDA15 #B7ED3F #CCF277 #E1F7AF #F5FCE3

Accessibility & contrast

On white

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

On black

16.53
#CCF277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF277
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF277#FFFFFF#000000##000000
##CCF2771.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf277;
/* rgb */ color: rgb(204, 242, 119);
/* oklch */ color: oklch(90.9% 0.156 123.7);
Tailwind
colors: {
  custom: {
    50: '#def6a1',
    500: '#ccf277',
    950: '#000000',
  },
}
SCSS
$custom: #ccf277;
$custom-light: #def6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf277",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 119
  },
  "hsl": {
    "h": 78.537,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90859,
    "c": 0.156,
    "h": 123.7
  },
  "luminance": 0.77674
}

Semantic roles & 50–950 ramp

primary
#CCF277
secondary
#6C41CC
accent
#07DF49
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF277

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

Preview Lab → · Contrast checker → · Palette generator →

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