#CCFF40#CCFF40

#CCFF40 is a very light, highly saturated yellow-green. Relative luminance 0.847; OKLCH L 93.3% C 0.212 H 123.9°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#CCFF40
RGBrgb(204, 255, 64)
HSLhsl(76, 100%, 63%)
HSVhsv(76, 75%, 100%)
CMYKcmyk(20%, 0%, 74.9%, 0%)
CIE-LABlab(93.77, -40.46, 79.57)
CIE-LCHlch(93.77, 89.26, 116.95°)
OKLaboklab(93.25% -0.1181 0.1757)
OKLCHoklch(93.25% 0.212 123.9)
XYZxyz(61.5879, 84.7270, 17.9588)
Luminance0.8473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFF40 #7340FF
analogous
#FFD340 #CCFF40 #6CFF40
triadic
#CCFF40 #40CCFF #FF40CC
tetradic
#CCFF40 #40FFD3 #7340FF #FF406C
square
#CCFF40 #40FFD3 #7340FF #FF406C
split-complementary
#CCFF40 #406CFF #D340FF
monochromatic
#90C500 #BCFF03 #CCFF40 #DCFF7D #EDFFBA

Accessibility & contrast

On white

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

On black

17.95
#CCFF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFF40
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFF40#FFFFFF#000000##000000
##CCFF401.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF0B
Deuteranopia (green-blind)
#FFED53
Tritanopia (blue-blind)
#D6F2DB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ccff40;
/* rgb */ color: rgb(204, 255, 64);
/* oklch */ color: oklch(93.3% 0.212 123.9);
Tailwind
colors: {
  custom: {
    50: '#e0ff83',
    500: '#ccff40',
    950: '#000000',
  },
}
SCSS
$custom: #ccff40;
$custom-light: #e0ff83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccff40",
  "rgb": {
    "r": 204,
    "g": 255,
    "b": 64
  },
  "hsl": {
    "h": 76.021,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.93251,
    "c": 0.21171,
    "h": 123.9
  },
  "luminance": 0.84728
}

Semantic roles & 50–950 ramp

primary
#CCFF40
secondary
#4D22C1
accent
#00E63D
background
#FEFFFC
surface
#FCFFF3
border
#D5D7CD
text
#16180C
muted
#84867F

Preview Lab

Preview with #CCFF40

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

Preview Lab → · Contrast checker → · Palette generator →

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