#CCEC52#CCEC52

#CCEC52 is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.2% C 0.179 H 120.3°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#CCEC52
RGBrgb(204, 236, 82)
HSLhsl(72, 80%, 62%)
HSVhsv(72, 65%, 93%)
CMYKcmyk(13.6%, 0%, 65.3%, 7.5%)
CIE-LABlab(88.66, -30.89, 68.32)
CIE-LCHlch(88.66, 74.98, 114.33°)
OKLaboklab(89.16% -0.0903 0.1547)
OKLCHoklch(89.16% 0.179 120.3)
XYZxyz(56.4212, 73.4377, 19.1836)
Luminance0.7344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC52 #7252EC
analogous
#ECBF52 #CCEC52 #7FEC52
triadic
#CCEC52 #52CCEC #EC52CC
tetradic
#CCEC52 #52ECBF #7252EC #EC527F
square
#CCEC52 #52ECBF #7252EC #EC527F
split-complementary
#CCEC52 #527FEC #BF52EC
monochromatic
#90B013 #BCE61B #CCEC52 #DCF289 #EDF8C0

Accessibility & contrast

On white

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

On black

15.69
#CCEC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC52
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC52#FFFFFF#000000##000000
##CCEC521.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccec52;
/* rgb */ color: rgb(204, 236, 82);
/* oklch */ color: oklch(89.2% 0.179 120.3);
Tailwind
colors: {
  custom: {
    50: '#dff28a',
    500: '#ccec52',
    950: '#000000',
  },
}
SCSS
$custom: #ccec52;
$custom-light: #dff28a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec52",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 72.468,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89162,
    "c": 0.17916,
    "h": 120.3
  },
  "luminance": 0.73437
}

Semantic roles & 50–950 ramp

primary
#CCEC52
secondary
#4C32B1
accent
#09DD35
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCEC52

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

Preview Lab → · Contrast checker → · Palette generator →

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