#CCF477#CCF477

#CCF477 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.3% C 0.159 H 124.2°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#CCF477
RGBrgb(204, 244, 119)
HSLhsl(79, 85%, 71%)
HSVhsv(79, 51%, 96%)
CMYKcmyk(16.4%, 0%, 51.2%, 4.3%)
CIE-LABlab(91.18, -31.66, 55.40)
CIE-LCHlch(91.18, 63.81, 119.75°)
OKLaboklab(91.3% -0.0891 0.1312)
OKLCHoklch(91.3% 0.159 124.2)
XYZxyz(60.5824, 78.8703, 29.4810)
Luminance0.7887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF477 #9F77F4
analogous
#F4DD77 #CCF477 #8DF477
triadic
#CCF477 #77CCF4 #F477CC
tetradic
#CCF477 #77F4DD #9F77F4 #F4778D
square
#CCF477 #77F4DD #9F77F4 #F4778D
split-complementary
#CCF477 #778DF4 #DD77F4
monochromatic
#9DDF12 #B7EF3E #CCF477 #E1F9B0 #F4FDE3

Accessibility & contrast

On white

1.25
#CCF477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#CCF477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF477
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF477#FFFFFF#000000##000000
##CCF4771.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76B
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#D4EAD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf477;
/* rgb */ color: rgb(204, 244, 119);
/* oklch */ color: oklch(91.3% 0.159 124.2);
Tailwind
colors: {
  custom: {
    50: '#def7a1',
    500: '#ccf477',
    950: '#000000',
  },
}
SCSS
$custom: #ccf477;
$custom-light: #def7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf477",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 79.2,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91298,
    "c": 0.15862,
    "h": 124.2
  },
  "luminance": 0.78871
}

Semantic roles & 50–950 ramp

primary
#CCF477
secondary
#6E41CF
accent
#04E24B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF477

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

Preview Lab → · Contrast checker → · Palette generator →

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