#CCF266#CCF266

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

Color values

HEX#CCF266
RGBrgb(204, 242, 102)
HSLhsl(76, 84%, 67%)
HSVhsv(76, 58%, 95%)
CMYKcmyk(15.7%, 0%, 57.9%, 5.1%)
CIE-LABlab(90.46, -32.23, 62.11)
CIE-LCHlch(90.46, 69.97, 117.43°)
OKLaboklab(90.67% -0.0922 0.1441)
OKLCHoklch(90.67% 0.171 122.6)
XYZxyz(59.0527, 77.3008, 24.3773)
Luminance0.7730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF266 #8C66F2
analogous
#F2D266 #CCF266 #86F266
triadic
#CCF266 #66CCF2 #F266CC
tetradic
#CCF266 #66F2D2 #8C66F2 #F26686
square
#CCF266 #66F2D2 #8C66F2 #F26686
split-complementary
#CCF266 #6686F2 #D266F2
monochromatic
#9ACC11 #B9ED2E #CCF266 #DFF79E #F2FCD7

Accessibility & contrast

On white

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

On black

16.46
#CCF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF266
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF266#FFFFFF#000000##000000
##CCF2661.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf266;
/* rgb */ color: rgb(204, 242, 102);
/* oklch */ color: oklch(90.7% 0.171 122.6);
Tailwind
colors: {
  custom: {
    50: '#def696',
    500: '#ccf266',
    950: '#000000',
  },
}
SCSS
$custom: #ccf266;
$custom-light: #def696;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf266",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 76.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90667,
    "c": 0.17105,
    "h": 122.6
  },
  "luminance": 0.77301
}

Semantic roles & 50–950 ramp

primary
#CCF266
secondary
#5C34C9
accent
#05E140
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF266

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

Preview Lab → · Contrast checker → · Palette generator →

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