#CCF26C#CCF26C

#CCF26C is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.7% C 0.166 H 123.0°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#CCF26C
RGBrgb(204, 242, 108)
HSLhsl(77, 84%, 69%)
HSVhsv(77, 55%, 95%)
CMYKcmyk(15.7%, 0%, 55.4%, 5.1%)
CIE-LABlab(90.52, -31.73, 59.57)
CIE-LCHlch(90.52, 67.49, 118.05°)
OKLaboklab(90.73% -0.0903 0.1393)
OKLCHoklch(90.73% 0.166 123)
XYZxyz(59.3611, 77.4241, 26.0015)
Luminance0.7742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF26C #926CF2
analogous
#F2D56C #CCF26C #89F26C
triadic
#CCF26C #6CCCF2 #F26CCC
tetradic
#CCF26C #6CF2D5 #926CF2 #F26C89
square
#CCF26C #6CF2D5 #926CF2 #F26C89
split-complementary
#CCF26C #6C89F2 #D56CF2
monochromatic
#9BD112 #B8ED34 #CCF26C #E0F7A4 #F3FCDC

Accessibility & contrast

On white

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

On black

16.48
#CCF26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF26C
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF26C#FFFFFF#000000##000000
##CCF26C1.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55E
Deuteranopia (green-blind)
#FAE475
Tritanopia (blue-blind)
#D5E7D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf26c;
/* rgb */ color: rgb(204, 242, 108);
/* oklch */ color: oklch(90.7% 0.166 123.0);
Tailwind
colors: {
  custom: {
    50: '#def69a',
    500: '#ccf26c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf26c;
$custom-light: #def69a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf26c",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 77.015,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.9073,
    "c": 0.16595,
    "h": 123
  },
  "luminance": 0.77424
}

Semantic roles & 50–950 ramp

primary
#CCF26C
secondary
#6137CB
accent
#05E043
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF26C

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

Preview Lab → · Contrast checker → · Palette generator →

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