#CCF268#CCF268

#CCF268 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.169 H 122.7°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#CCF268
RGBrgb(204, 242, 104)
HSLhsl(77, 84%, 68%)
HSVhsv(77, 57%, 95%)
CMYKcmyk(15.7%, 0%, 57%, 5.1%)
CIE-LABlab(90.48, -32.07, 61.27)
CIE-LCHlch(90.48, 69.15, 117.63°)
OKLaboklab(90.69% -0.0916 0.1425)
OKLCHoklch(90.69% 0.169 122.7)
XYZxyz(59.1531, 77.3409, 24.9060)
Luminance0.7734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF268 #8E68F2
analogous
#F2D368 #CCF268 #87F268
triadic
#CCF268 #68CCF2 #F268CC
tetradic
#CCF268 #68F2D3 #8E68F2 #F26887
square
#CCF268 #68F2D3 #8E68F2 #F26887
split-complementary
#CCF268 #6887F2 #D368F2
monochromatic
#9ACE12 #B9ED30 #CCF268 #DFF7A0 #F2FCD9

Accessibility & contrast

On white

1.28
#CCF268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#CCF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF268
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF268#FFFFFF#000000##000000
##CCF2681.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE559
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#D5E7D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf268;
/* rgb */ color: rgb(204, 242, 104);
/* oklch */ color: oklch(90.7% 0.169 122.7);
Tailwind
colors: {
  custom: {
    50: '#def698',
    500: '#ccf268',
    950: '#000000',
  },
}
SCSS
$custom: #ccf268;
$custom-light: #def698;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf268",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 76.522,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90687,
    "c": 0.16938,
    "h": 122.7
  },
  "luminance": 0.77341
}

Semantic roles & 50–950 ramp

primary
#CCF268
secondary
#5D34CA
accent
#05E141
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF268

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

Preview Lab → · Contrast checker → · Palette generator →

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