#CCF977#CCF977

#CCF977 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.4% C 0.165 H 125.3°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#CCF977
RGBrgb(204, 249, 119)
HSLhsl(81, 92%, 72%)
HSVhsv(81, 52%, 98%)
CMYKcmyk(18.1%, 0%, 52.2%, 2.4%)
CIE-LABlab(92.54, -33.96, 57.01)
CIE-LCHlch(92.54, 66.36, 120.78°)
OKLaboklab(92.4% -0.0955 0.1347)
OKLCHoklch(92.4% 0.165 125.3)
XYZxyz(62.1073, 81.9201, 29.9893)
Luminance0.8192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF977 #A477F9
analogous
#F9E577 #CCF977 #8BF977
triadic
#CCF977 #77CCF9 #F977CC
tetradic
#CCF977 #77F9E5 #A477F9 #F9778B
square
#CCF977 #77F9E5 #A477F9 #F9778B
split-complementary
#CCF977 #778BF9 #E577F9
monochromatic
#9DEB0A #B6F63C #CCF977 #E2FCB2 #F4FEE2

Accessibility & contrast

On white

1.21
#CCF977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#CCF977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF977
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF977#FFFFFF#000000##000000
##CCF9771.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6B
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#D3EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf977;
/* rgb */ color: rgb(204, 249, 119);
/* oklch */ color: oklch(92.4% 0.165 125.3);
Tailwind
colors: {
  custom: {
    50: '#defba1',
    500: '#ccf977',
    950: '#000000',
  },
}
SCSS
$custom: #ccf977;
$custom-light: #defba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf977",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 119
  },
  "hsl": {
    "h": 80.769,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92396,
    "c": 0.16517,
    "h": 125.3
  },
  "luminance": 0.81921
}

Semantic roles & 50–950 ramp

primary
#CCF977
secondary
#733FD5
accent
#00E64F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF977

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

Preview Lab → · Contrast checker → · Palette generator →

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