#CCF579#CCF579

#CCF579 is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.5% C 0.158 H 124.6°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#CCF579
RGBrgb(204, 245, 121)
HSLhsl(80, 86%, 72%)
HSVhsv(80, 51%, 96%)
CMYKcmyk(16.7%, 0%, 50.6%, 3.9%)
CIE-LABlab(91.47, -31.93, 54.83)
CIE-LCHlch(91.47, 63.45, 120.21°)
OKLaboklab(91.54% -0.0897 0.1301)
OKLCHoklch(91.54% 0.158 124.6)
XYZxyz(61.0055, 79.5222, 30.2208)
Luminance0.7952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF579 #A279F5
analogous
#F5E079 #CCF579 #8EF579
triadic
#CCF579 #79CCF5 #F579CC
tetradic
#CCF579 #79F5E0 #A279F5 #F5798E
square
#CCF579 #79F5E0 #A279F5 #F5798E
split-complementary
#CCF579 #798EF5 #E079F5
monochromatic
#9DE311 #B6F140 #CCF579 #E2F9B2 #F4FDE3

Accessibility & contrast

On white

1.24
#CCF579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#CCF579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF579
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF579#FFFFFF#000000##000000
##CCF5791.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FBE680
Tritanopia (blue-blind)
#D3EBD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf579;
/* rgb */ color: rgb(204, 245, 121);
/* oklch */ color: oklch(91.5% 0.158 124.6);
Tailwind
colors: {
  custom: {
    50: '#def8a2',
    500: '#ccf579',
    950: '#000000',
  },
}
SCSS
$custom: #ccf579;
$custom-light: #def8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf579",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 79.839,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91542,
    "c": 0.15807,
    "h": 124.6
  },
  "luminance": 0.79523
}

Semantic roles & 50–950 ramp

primary
#CCF579
secondary
#7142D0
accent
#03E34D
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF579

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

Preview Lab → · Contrast checker → · Palette generator →

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