#CCE04A#CCE04A

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

Color values

HEX#CCE04A
RGBrgb(204, 224, 74)
HSLhsl(68, 71%, 58%)
HSVhsv(68, 67%, 88%)
CMYKcmyk(8.9%, 0%, 67%, 12.2%)
CIE-LABlab(85.32, -25.73, 67.94)
CIE-LCHlch(85.32, 72.65, 110.74°)
OKLaboklab(86.47% -0.0767 0.1528)
OKLCHoklch(86.47% 0.171 116.7)
XYZxyz(52.7947, 66.6438, 16.5596)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE04A #5E4AE0
analogous
#E0A94A #CCE04A #81E04A
triadic
#CCE04A #4ACCE0 #E04ACC
tetradic
#CCE04A #4AE0A9 #5E4AE0 #E04A81
square
#CCE04A #4AE0A9 #5E4AE0 #E04A81
split-complementary
#CCE04A #4A81E0 #A94AE0
monochromatic
#85961A #B4CA23 #CCE04A #DBE97E #E9F2B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE04A#FFFFFF#000000##000000
##CCE04A1.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)
#EFD534
Deuteranopia (green-blind)
#EDD655
Tritanopia (blue-blind)
#D8D4C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce04a;
/* rgb */ color: rgb(204, 224, 74);
/* oklch */ color: oklch(86.5% 0.171 116.7);
Tailwind
colors: {
  custom: {
    50: '#dfe985',
    500: '#cce04a',
    950: '#000000',
  },
}
SCSS
$custom: #cce04a;
$custom-light: #dfe985;
$custom-dark: #000000;
JSON
{
  "hex": "#cce04a",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 74
  },
  "hsl": {
    "h": 68,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86465,
    "c": 0.17094,
    "h": 116.7
  },
  "luminance": 0.66643
}

Semantic roles & 50–950 ramp

primary
#CCE04A
secondary
#42349A
accent
#3AEE52
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE04A

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

Preview Lab → · Contrast checker → · Palette generator →

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