#CCFF04#CCFF04

#CCFF04 is a very light, highly saturated yellow-green. Relative luminance 0.844; OKLCH L 93.1% C 0.228 H 123.1°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#CCFF04
RGBrgb(204, 255, 4)
HSLhsl(72, 100%, 51%)
HSVhsv(72, 98%, 100%)
CMYKcmyk(20%, 0%, 98.4%, 0%)
CIE-LABlab(93.61, -41.91, 89.99)
CIE-LCHlch(93.61, 99.27, 114.97°)
OKLaboklab(93.08% -0.1246 0.1911)
OKLCHoklch(93.08% 0.228 123.1)
XYZxyz(60.6848, 84.3658, 13.2020)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFF04 #3704FF
analogous
#FFB404 #CCFF04 #4EFF04
triadic
#CCFF04 #04CCFF #FF04CC
tetradic
#CCFF04 #04FFB4 #3704FF #FF044E
square
#CCFF04 #04FFB4 #3704FF #FF044E
split-complementary
#CCFF04 #044EFF #B404FF
monochromatic
#6D8900 #9EC600 #CCFF04 #D8FF41 #E5FF7E

Accessibility & contrast

On white

1.17
#CCFF04 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#CCFF04 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFF04
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFF04#FFFFFF#000000##000000
##CCFF041.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE00
Deuteranopia (green-blind)
#FFEC36
Tritanopia (blue-blind)
#D7F1D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ccff04;
/* rgb */ color: rgb(204, 255, 4);
/* oklch */ color: oklch(93.1% 0.228 123.1);
Tailwind
colors: {
  custom: {
    50: '#e1ff72',
    500: '#ccff04',
    950: '#000000',
  },
}
SCSS
$custom: #ccff04;
$custom-light: #e1ff72;
$custom-dark: #000000;
JSON
{
  "hex": "#ccff04",
  "rgb": {
    "r": 204,
    "g": 255,
    "b": 4
  },
  "hsl": {
    "h": 72.191,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.93075,
    "c": 0.22817,
    "h": 123.1
  },
  "luminance": 0.84366
}

Semantic roles & 50–950 ramp

primary
#CCFF04
secondary
#31198E
accent
#29FF54
background
#FFFFFB
surface
#FEFFF1
border
#D6D7CB
text
#16180A
muted
#85867D

Preview Lab

Preview with #CCFF04

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

Preview Lab → · Contrast checker → · Palette generator →

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