#CCE04E#CCE04E

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

Color values

HEX#CCE04E
RGBrgb(204, 224, 78)
HSLhsl(68, 70%, 59%)
HSVhsv(68, 65%, 88%)
CMYKcmyk(8.9%, 0%, 65.2%, 12.2%)
CIE-LABlab(85.35, -25.49, 66.44)
CIE-LCHlch(85.35, 71.16, 110.99°)
OKLaboklab(86.5% -0.0756 0.1502)
OKLCHoklch(86.5% 0.168 116.7)
XYZxyz(52.9338, 66.6994, 17.2920)
Luminance0.6670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE04E #624EE0
analogous
#E0AB4E #CCE04E #83E04E
triadic
#CCE04E #4ECCE0 #E04ECC
tetradic
#CCE04E #4EE0AB #624EE0 #E04E83
square
#CCE04E #4EE0AB #624EE0 #E04E83
split-complementary
#CCE04E #4E83E0 #AB4EE0
monochromatic
#88991B #B6CD24 #CCE04E #DBE982 #EAF2B6

Accessibility & contrast

On white

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

On black

14.34
#CCE04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE04E
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE04E#FFFFFF#000000##000000
##CCE04E1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce04e;
/* rgb */ color: rgb(204, 224, 78);
/* oklch */ color: oklch(86.5% 0.168 116.7);
Tailwind
colors: {
  custom: {
    50: '#dfe987',
    500: '#cce04e',
    950: '#000000',
  },
}
SCSS
$custom: #cce04e;
$custom-light: #dfe987;
$custom-dark: #000000;
JSON
{
  "hex": "#cce04e",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 78
  },
  "hsl": {
    "h": 68.219,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86496,
    "c": 0.16818,
    "h": 116.7
  },
  "luminance": 0.66699
}

Semantic roles & 50–950 ramp

primary
#CCE04E
secondary
#44359D
accent
#3BED53
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE04E

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

Preview Lab → · Contrast checker → · Palette generator →

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