#CCE04C#CCE04C

#CCE04C is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.5% C 0.170 H 116.7°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#CCE04C
RGBrgb(204, 224, 76)
HSLhsl(68, 70%, 59%)
HSVhsv(68, 66%, 88%)
CMYKcmyk(8.9%, 0%, 66.1%, 12.2%)
CIE-LABlab(85.34, -25.61, 67.19)
CIE-LCHlch(85.34, 71.91, 110.86°)
OKLaboklab(86.48% -0.0762 0.1515)
OKLCHoklch(86.48% 0.17 116.7)
XYZxyz(52.8632, 66.6711, 16.9201)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE04C #604CE0
analogous
#E0AA4C #CCE04C #82E04C
triadic
#CCE04C #4CCCE0 #E04CCC
tetradic
#CCE04C #4CE0AA #604CE0 #E04C82
square
#CCE04C #4CE0AA #604CE0 #E04C82
split-complementary
#CCE04C #4C82E0 #AA4CE0
monochromatic
#86971A #B5CC23 #CCE04C #DBE980 #EAF2B4

Accessibility & contrast

On white

1.47
#CCE04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#CCE04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE04C
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE04C#FFFFFF#000000##000000
##CCE04C1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD537
Deuteranopia (green-blind)
#EDD657
Tritanopia (blue-blind)
#D8D4C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce04c;
/* rgb */ color: rgb(204, 224, 76);
/* oklch */ color: oklch(86.5% 0.170 116.7);
Tailwind
colors: {
  custom: {
    50: '#dfe986',
    500: '#cce04c',
    950: '#000000',
  },
}
SCSS
$custom: #cce04c;
$custom-light: #dfe986;
$custom-dark: #000000;
JSON
{
  "hex": "#cce04c",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 76
  },
  "hsl": {
    "h": 68.108,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8648,
    "c": 0.16958,
    "h": 116.7
  },
  "luminance": 0.6667
}

Semantic roles & 50–950 ramp

primary
#CCE04C
secondary
#43359B
accent
#3BED53
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE04C

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

Preview Lab → · Contrast checker → · Palette generator →

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