#CCE04D#CCE04D

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

Color values

HEX#CCE04D
RGBrgb(204, 224, 77)
HSLhsl(68, 70%, 59%)
HSVhsv(68, 66%, 88%)
CMYKcmyk(8.9%, 0%, 65.6%, 12.2%)
CIE-LABlab(85.34, -25.55, 66.82)
CIE-LCHlch(85.34, 71.54, 110.93°)
OKLaboklab(86.49% -0.0759 0.1509)
OKLCHoklch(86.49% 0.169 116.7)
XYZxyz(52.8982, 66.6852, 17.1046)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE04D #614DE0
analogous
#E0AB4D #CCE04D #83E04D
triadic
#CCE04D #4DCCE0 #E04DCC
tetradic
#CCE04D #4DE0AB #614DE0 #E04D83
square
#CCE04D #4DE0AB #614DE0 #E04D83
split-complementary
#CCE04D #4D83E0 #AB4DE0
monochromatic
#87981A #B5CC24 #CCE04D #DBE981 #EAF2B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE04D#FFFFFF#000000##000000
##CCE04D1.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)
#EFD538
Deuteranopia (green-blind)
#EDD658
Tritanopia (blue-blind)
#D8D4C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce04d;
/* rgb */ color: rgb(204, 224, 77);
/* oklch */ color: oklch(86.5% 0.169 116.7);
Tailwind
colors: {
  custom: {
    50: '#dfe986',
    500: '#cce04d',
    950: '#000000',
  },
}
SCSS
$custom: #cce04d;
$custom-light: #dfe986;
$custom-dark: #000000;
JSON
{
  "hex": "#cce04d",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 77
  },
  "hsl": {
    "h": 68.163,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86488,
    "c": 0.16888,
    "h": 116.7
  },
  "luminance": 0.66685
}

Semantic roles & 50–950 ramp

primary
#CCE04D
secondary
#43359C
accent
#3BED53
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE04D

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

Preview Lab → · Contrast checker → · Palette generator →

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