#CCF256#CCF256

#CCF256 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.5% C 0.183 H 121.9°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#CCF256
RGBrgb(204, 242, 86)
HSLhsl(75, 86%, 64%)
HSVhsv(75, 64%, 95%)
CMYKcmyk(15.7%, 0%, 64.5%, 5.1%)
CIE-LABlab(90.33, -33.40, 68.52)
CIE-LCHlch(90.33, 76.23, 115.99°)
OKLaboklab(90.52% -0.0969 0.1557)
OKLCHoklch(90.52% 0.183 121.9)
XYZxyz(58.3344, 77.0134, 20.5942)
Luminance0.7701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF256 #7C56F2
analogous
#F2CA56 #CCF256 #7EF256
triadic
#CCF256 #56CCF2 #F256CC
tetradic
#CCF256 #56F2CA #7C56F2 #F2567E
square
#CCF256 #56F2CA #7C56F2 #F2567E
split-complementary
#CCF256 #567EF2 #CA56F2
monochromatic
#94BF0F #BBEE1D #CCF256 #DDF68F #EEFBC8

Accessibility & contrast

On white

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

On black

16.40
#CCF256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF256
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF256#FFFFFF#000000##000000
##CCF2561.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE441
Deuteranopia (green-blind)
#FBE362
Tritanopia (blue-blind)
#D6E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf256;
/* rgb */ color: rgb(204, 242, 86);
/* oklch */ color: oklch(90.5% 0.183 121.9);
Tailwind
colors: {
  custom: {
    50: '#dff68d',
    500: '#ccf256',
    950: '#000000',
  },
}
SCSS
$custom: #ccf256;
$custom-light: #dff68d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf256",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 86
  },
  "hsl": {
    "h": 74.615,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90518,
    "c": 0.18339,
    "h": 121.9
  },
  "luminance": 0.77014
}

Semantic roles & 50–950 ramp

primary
#CCF256
secondary
#522FBD
accent
#03E23A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF256

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

Preview Lab → · Contrast checker → · Palette generator →

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