#CCEC57#CCEC57

#CCEC57 is a very light, vivid yellow-green. Relative luminance 0.735; OKLCH L 89.2% C 0.176 H 120.4°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#CCEC57
RGBrgb(204, 236, 87)
HSLhsl(73, 80%, 63%)
HSVhsv(73, 63%, 93%)
CMYKcmyk(13.6%, 0%, 63.1%, 7.5%)
CIE-LABlab(88.69, -30.56, 66.40)
CIE-LCHlch(88.69, 73.09, 114.72°)
OKLaboklab(89.2% -0.0889 0.1514)
OKLCHoklch(89.2% 0.176 120.4)
XYZxyz(56.6184, 73.5165, 20.2224)
Luminance0.7352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC57 #7757EC
analogous
#ECC157 #CCEC57 #81EC57
triadic
#CCEC57 #57CCEC #EC57CC
tetradic
#CCEC57 #57ECC1 #7757EC #EC5781
square
#CCEC57 #57ECC1 #7757EC #EC5781
split-complementary
#CCEC57 #5781EC #C157EC
monochromatic
#92B414 #BBE620 #CCEC57 #DDF28E #EDF8C5

Accessibility & contrast

On white

1.34
#CCEC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#CCEC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC57
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC57#FFFFFF#000000##000000
##CCEC571.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF44
Deuteranopia (green-blind)
#F6DF62
Tritanopia (blue-blind)
#D7E0CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ccec57;
/* rgb */ color: rgb(204, 236, 87);
/* oklch */ color: oklch(89.2% 0.176 120.4);
Tailwind
colors: {
  custom: {
    50: '#dff28d',
    500: '#ccec57',
    950: '#000000',
  },
}
SCSS
$custom: #ccec57;
$custom-light: #dff28d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec57",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 87
  },
  "hsl": {
    "h": 72.886,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89204,
    "c": 0.17556,
    "h": 120.4
  },
  "luminance": 0.73516
}

Semantic roles & 50–950 ramp

primary
#CCEC57
secondary
#4F33B4
accent
#0ADC37
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CCEC57

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

Preview Lab → · Contrast checker → · Palette generator →

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