#CCF279#CCF279

#CCF279 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.9% C 0.154 H 123.8°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#CCF279
RGBrgb(204, 242, 121)
HSLhsl(79, 82%, 71%)
HSVhsv(79, 50%, 95%)
CMYKcmyk(15.7%, 0%, 50%, 5.1%)
CIE-LABlab(90.65, -30.54, 53.86)
CIE-LCHlch(90.65, 61.91, 119.56°)
OKLaboklab(90.88% -0.0858 0.128)
OKLCHoklch(90.88% 0.154 123.8)
XYZxyz(60.1052, 77.7218, 29.9207)
Luminance0.7772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF279 #9F79F2
analogous
#F2DB79 #CCF279 #8FF279
triadic
#CCF279 #79CCF2 #F279CC
tetradic
#CCF279 #79F2DB #9F79F2 #F2798F
square
#CCF279 #79F2DB #9F79F2 #F2798F
split-complementary
#CCF279 #798FF2 #DB79F2
monochromatic
#9DDB15 #B7ED41 #CCF279 #E1F7B1 #F4FCE3

Accessibility & contrast

On white

1.27
#CCF279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#CCF279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF279
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF279#FFFFFF#000000##000000
##CCF2791.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56E
Deuteranopia (green-blind)
#F8E480
Tritanopia (blue-blind)
#D4E8D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf279;
/* rgb */ color: rgb(204, 242, 121);
/* oklch */ color: oklch(90.9% 0.154 123.8);
Tailwind
colors: {
  custom: {
    50: '#ddf6a2',
    500: '#ccf279',
    950: '#000000',
  },
}
SCSS
$custom: #ccf279;
$custom-light: #ddf6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf279",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 121
  },
  "hsl": {
    "h": 78.843,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90884,
    "c": 0.15411,
    "h": 123.8
  },
  "luminance": 0.77722
}

Semantic roles & 50–950 ramp

primary
#CCF279
secondary
#6E43CC
accent
#07DF4B
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF279

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

Preview Lab → · Contrast checker → · Palette generator →

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