#CCE04B#CCE04B

#CCE04B 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#CCE04B
RGBrgb(204, 224, 75)
HSLhsl(68, 71%, 59%)
HSVhsv(68, 67%, 88%)
CMYKcmyk(8.9%, 0%, 66.5%, 12.2%)
CIE-LABlab(85.33, -25.67, 67.57)
CIE-LCHlch(85.33, 72.28, 110.80°)
OKLaboklab(86.47% -0.0764 0.1522)
OKLCHoklch(86.47% 0.17 116.7)
XYZxyz(52.8287, 66.6573, 16.7384)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE04B #5F4BE0
analogous
#E0A94B #CCE04B #81E04B
triadic
#CCE04B #4BCCE0 #E04BCC
tetradic
#CCE04B #4BE0A9 #5F4BE0 #E04B81
square
#CCE04B #4BE0A9 #5F4BE0 #E04B81
split-complementary
#CCE04B #4B81E0 #A94BE0
monochromatic
#86971A #B4CB23 #CCE04B #DBE97F #EAF2B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE04B#FFFFFF#000000##000000
##CCE04B1.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)
#EFD535
Deuteranopia (green-blind)
#EDD656
Tritanopia (blue-blind)
#D8D4C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce04b;
/* rgb */ color: rgb(204, 224, 75);
/* oklch */ color: oklch(86.5% 0.170 116.7);
Tailwind
colors: {
  custom: {
    50: '#dfe985',
    500: '#cce04b',
    950: '#000000',
  },
}
SCSS
$custom: #cce04b;
$custom-light: #dfe985;
$custom-dark: #000000;
JSON
{
  "hex": "#cce04b",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 75
  },
  "hsl": {
    "h": 68.054,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86472,
    "c": 0.17027,
    "h": 116.7
  },
  "luminance": 0.66657
}

Semantic roles & 50–950 ramp

primary
#CCE04B
secondary
#42349B
accent
#3AED52
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE04B

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

Preview Lab → · Contrast checker → · Palette generator →

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