#CCF257#CCF257

#CCF257 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.41:1 contrast (WCAG AA passes).

Color values

HEX#CCF257
RGBrgb(204, 242, 87)
HSLhsl(75, 86%, 65%)
HSVhsv(75, 64%, 95%)
CMYKcmyk(15.7%, 0%, 64%, 5.1%)
CIE-LABlab(90.34, -33.33, 68.14)
CIE-LCHlch(90.34, 75.85, 116.07°)
OKLaboklab(90.53% -0.0966 0.155)
OKLCHoklch(90.53% 0.183 121.9)
XYZxyz(58.3750, 77.0297, 20.8079)
Luminance0.7703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF257 #7D57F2
analogous
#F2CB57 #CCF257 #7FF257
triadic
#CCF257 #57CCF2 #F257CC
tetradic
#CCF257 #57F2CB #7D57F2 #F2577F
square
#CCF257 #57F2CB #7D57F2 #F2577F
split-complementary
#CCF257 #577FF2 #CB57F2
monochromatic
#94C00F #BBEE1E #CCF257 #DDF690 #EEFBC9

Accessibility & contrast

On white

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

On black

16.41
#CCF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF257
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF257#FFFFFF#000000##000000
##CCF2571.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf257;
/* rgb */ color: rgb(204, 242, 87);
/* oklch */ color: oklch(90.5% 0.183 121.9);
Tailwind
colors: {
  custom: {
    50: '#dff68d',
    500: '#ccf257',
    950: '#000000',
  },
}
SCSS
$custom: #ccf257;
$custom-light: #dff68d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf257",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 74.71,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90526,
    "c": 0.18268,
    "h": 121.9
  },
  "luminance": 0.7703
}

Semantic roles & 50–950 ramp

primary
#CCF257
secondary
#5230BE
accent
#03E23A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF257

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

Preview Lab → · Contrast checker → · Palette generator →

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