#CCFF51#CCFF51

#CCFF51 is a very light, highly saturated yellow-green. Relative luminance 0.850; OKLCH L 93.4% C 0.202 H 124.5°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#CCFF51
RGBrgb(204, 255, 81)
HSLhsl(78, 100%, 66%)
HSVhsv(78, 68%, 100%)
CMYKcmyk(20%, 0%, 68.2%, 0%)
CIE-LABlab(93.86, -39.57, 74.04)
CIE-LCHlch(93.86, 83.95, 118.12°)
OKLaboklab(93.36% -0.1144 0.1666)
OKLCHoklch(93.36% 0.202 124.5)
XYZxyz(62.1475, 84.9509, 20.9060)
Luminance0.8495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFF51 #8451FF
analogous
#FFDB51 #CCFF51 #75FF51
triadic
#CCFF51 #51CCFF #FF51CC
tetradic
#CCFF51 #51FFDB #8451FF #FF5175
square
#CCFF51 #51FFDB #8451FF #FF5175
split-complementary
#CCFF51 #5175FF #DB51FF
monochromatic
#97D600 #BAFF14 #CCFF51 #DEFF8E #F0FFCB

Accessibility & contrast

On white

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

On black

17.99
#CCFF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFF51
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFF51#FFFFFF#000000##000000
##CCFF511.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF35
Deuteranopia (green-blind)
#FFED5F
Tritanopia (blue-blind)
#D5F3DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ccff51;
/* rgb */ color: rgb(204, 255, 81);
/* oklch */ color: oklch(93.4% 0.202 124.5);
Tailwind
colors: {
  custom: {
    50: '#dfff8b',
    500: '#ccff51',
    950: '#000000',
  },
}
SCSS
$custom: #ccff51;
$custom-light: #dfff8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccff51",
  "rgb": {
    "r": 204,
    "g": 255,
    "b": 81
  },
  "hsl": {
    "h": 77.586,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.9336,
    "c": 0.20208,
    "h": 124.5
  },
  "luminance": 0.84951
}

Semantic roles & 50–950 ramp

primary
#CCFF51
secondary
#5725D0
accent
#00E643
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16180D
muted
#84867F

Preview Lab

Preview with #CCFF51

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

Preview Lab → · Contrast checker → · Palette generator →

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