#CCF79A#CCF79A

#CCF79A is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.5% C 0.127 H 128.8°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#CCF79A
RGBrgb(204, 247, 154)
HSLhsl(88, 85%, 79%)
HSVhsv(88, 38%, 97%)
CMYKcmyk(17.4%, 0%, 37.7%, 3.1%)
CIE-LABlab(92.44, -29.17, 40.27)
CIE-LCHlch(92.44, 49.73, 125.92°)
OKLaboklab(92.46% -0.0799 0.0992)
OKLCHoklch(92.46% 0.127 128.8)
XYZxyz(63.9945, 81.6911, 42.9620)
Luminance0.8169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF79A #C59AF7
analogous
#F7F39A #CCF79A #9DF79A
triadic
#CCF79A #9ACCF7 #F79ACC
tetradic
#CCF79A #9AF7F3 #C59AF7 #F79A9D
square
#CCF79A #9AF7F3 #C59AF7 #F79A9D
split-complementary
#CCF79A #9A9DF7 #F39AF7
monochromatic
#93EE29 #AFF361 #CCF79A #E9FBD3 #F1FDE3

Accessibility & contrast

On white

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

On black

17.34
#CCF79A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF79A
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF79A#FFFFFF#000000##000000
##CCF79A1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB93
Deuteranopia (green-blind)
#F9E89F
Tritanopia (blue-blind)
#D0EFE0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf79a;
/* rgb */ color: rgb(204, 247, 154);
/* oklch */ color: oklch(92.5% 0.127 128.8);
Tailwind
colors: {
  custom: {
    50: '#ddfab9',
    500: '#ccf79a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf79a;
$custom-light: #ddfab9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf79a",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 154
  },
  "hsl": {
    "h": 87.742,
    "s": 85.321,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92459,
    "c": 0.12739,
    "h": 128.8
  },
  "luminance": 0.81692
}

Semantic roles & 50–950 ramp

primary
#CCF79A
secondary
#965FD7
accent
#04E26A
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF79A

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

Preview Lab → · Contrast checker → · Palette generator →

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