#CCF079#CCF079

#CCF079 is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.4% C 0.151 H 123.3°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#CCF079
RGBrgb(204, 240, 121)
HSLhsl(78, 80%, 71%)
HSVhsv(78, 50%, 94%)
CMYKcmyk(15%, 0%, 49.6%, 5.9%)
CIE-LABlab(90.11, -29.61, 53.20)
CIE-LCHlch(90.11, 60.89, 119.10°)
OKLaboklab(90.45% -0.0832 0.1266)
OKLCHoklch(90.45% 0.151 123.3)
XYZxyz(59.5132, 76.5378, 29.7234)
Luminance0.7654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF079 #9D79F0
analogous
#F0D879 #CCF079 #90F079
triadic
#CCF079 #79CCF0 #F079CC
tetradic
#CCF079 #79F0D8 #9D79F0 #F07990
square
#CCF079 #79F0D8 #9D79F0 #F07990
split-complementary
#CCF079 #7990F0 #D879F0
monochromatic
#9DD718 #B7EA42 #CCF079 #E1F6B0 #F5FCE3

Accessibility & contrast

On white

1.29
#CCF079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#CCF079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF079
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF079#FFFFFF#000000##000000
##CCF0791.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46E
Deuteranopia (green-blind)
#F7E280
Tritanopia (blue-blind)
#D4E6D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf079;
/* rgb */ color: rgb(204, 240, 121);
/* oklch */ color: oklch(90.4% 0.151 123.3);
Tailwind
colors: {
  custom: {
    50: '#ddf5a2',
    500: '#ccf079',
    950: '#000000',
  },
}
SCSS
$custom: #ccf079;
$custom-light: #ddf5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf079",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 121
  },
  "hsl": {
    "h": 78.151,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90446,
    "c": 0.15147,
    "h": 123.3
  },
  "luminance": 0.76538
}

Semantic roles & 50–950 ramp

primary
#CCF079
secondary
#6C43CA
accent
#09DC49
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF079

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

Preview Lab → · Contrast checker → · Palette generator →

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