#CCF979#CCF979

#CCF979 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.4% C 0.163 H 125.5°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#CCF979
RGBrgb(204, 249, 121)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 51%, 98%)
CMYKcmyk(18.1%, 0%, 51.4%, 2.4%)
CIE-LABlab(92.56, -33.77, 56.13)
CIE-LCHlch(92.56, 65.51, 121.03°)
OKLaboklab(92.42% -0.0949 0.133)
OKLCHoklch(92.42% 0.163 125.5)
XYZxyz(62.2287, 81.9686, 30.6285)
Luminance0.8197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF979 #A679F9
analogous
#F9E679 #CCF979 #8CF979
triadic
#CCF979 #79CCF9 #F979CC
tetradic
#CCF979 #79F9E6 #A679F9 #F9798C
square
#CCF979 #79F9E6 #A679F9 #F9798C
split-complementary
#CCF979 #798CF9 #E679F9
monochromatic
#9DED0B #B6F63E #CCF979 #E2FCB4 #F4FEE2

Accessibility & contrast

On white

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

On black

17.39
#CCF979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF979
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF979#FFFFFF#000000##000000
##CCF9791.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf979;
/* rgb */ color: rgb(204, 249, 121);
/* oklch */ color: oklch(92.4% 0.163 125.5);
Tailwind
colors: {
  custom: {
    50: '#defba3',
    500: '#ccf979',
    950: '#000000',
  },
}
SCSS
$custom: #ccf979;
$custom-light: #defba3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf979",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 81.094,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9242,
    "c": 0.16334,
    "h": 125.5
  },
  "luminance": 0.81969
}

Semantic roles & 50–950 ramp

primary
#CCF979
secondary
#7541D5
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF979

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

Preview Lab → · Contrast checker → · Palette generator →

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