#CCE04F#CCE04F

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

Color values

HEX#CCE04F
RGBrgb(204, 224, 79)
HSLhsl(68, 70%, 59%)
HSVhsv(68, 65%, 88%)
CMYKcmyk(8.9%, 0%, 64.7%, 12.2%)
CIE-LABlab(85.36, -25.43, 66.05)
CIE-LCHlch(85.36, 70.78, 111.05°)
OKLaboklab(86.5% -0.0754 0.1495)
OKLCHoklch(86.5% 0.167 116.7)
XYZxyz(52.9699, 66.7138, 17.4822)
Luminance0.6671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE04F #634FE0
analogous
#E0AC4F #CCE04F #84E04F
triadic
#CCE04F #4FCCE0 #E04FCC
tetradic
#CCE04F #4FE0AC #634FE0 #E04F84
square
#CCE04F #4FE0AC #634FE0 #E04F84
split-complementary
#CCE04F #4F84E0 #AC4FE0
monochromatic
#889A1B #B6CE24 #CCE04F #DBE983 #EAF2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE04F#FFFFFF#000000##000000
##CCE04F1.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)
#EFD53B
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#D8D4C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce04f;
/* rgb */ color: rgb(204, 224, 79);
/* oklch */ color: oklch(86.5% 0.167 116.7);
Tailwind
colors: {
  custom: {
    50: '#dfe987',
    500: '#cce04f',
    950: '#000000',
  },
}
SCSS
$custom: #cce04f;
$custom-light: #dfe987;
$custom-dark: #000000;
JSON
{
  "hex": "#cce04f",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 68.276,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86504,
    "c": 0.16746,
    "h": 116.7
  },
  "luminance": 0.66713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE04F

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

Preview Lab → · Contrast checker → · Palette generator →

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