#CCE052#CCE052

#CCE052 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.5% C 0.165 H 116.8°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#CCE052
RGBrgb(204, 224, 82)
HSLhsl(68, 70%, 60%)
HSVhsv(68, 63%, 88%)
CMYKcmyk(8.9%, 0%, 63.4%, 12.2%)
CIE-LABlab(85.38, -25.24, 64.89)
CIE-LCHlch(85.38, 69.62, 111.25°)
OKLaboklab(86.53% -0.0745 0.1475)
OKLCHoklch(86.53% 0.165 116.8)
XYZxyz(53.0816, 66.7585, 18.0704)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE052 #6652E0
analogous
#E0AD52 #CCE052 #85E052
triadic
#CCE052 #52CCE0 #E052CC
tetradic
#CCE052 #52E0AD #6652E0 #E05285
square
#CCE052 #52E0AD #6652E0 #E05285
split-complementary
#CCE052 #5285E0 #AD52E0
monochromatic
#8A9C1C #B8D025 #CCE052 #DBE986 #EBF3BA

Accessibility & contrast

On white

1.46
#CCE052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#CCE052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE052
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE052#FFFFFF#000000##000000
##CCE0521.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD540
Deuteranopia (green-blind)
#EDD65C
Tritanopia (blue-blind)
#D8D4C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce052;
/* rgb */ color: rgb(204, 224, 82);
/* oklch */ color: oklch(86.5% 0.165 116.8);
Tailwind
colors: {
  custom: {
    50: '#dfe989',
    500: '#cce052',
    950: '#000000',
  },
}
SCSS
$custom: #cce052;
$custom-light: #dfe989;
$custom-dark: #000000;
JSON
{
  "hex": "#cce052",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 68.451,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.8653,
    "c": 0.16528,
    "h": 116.8
  },
  "luminance": 0.66758
}

Semantic roles & 50–950 ramp

primary
#CCE052
secondary
#46379F
accent
#3BEC54
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE052

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

Preview Lab → · Contrast checker → · Palette generator →

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