#CCF251#CCF251

#CCF251 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.5% C 0.187 H 121.7°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#CCF251
RGBrgb(204, 242, 81)
HSLhsl(74, 86%, 63%)
HSVhsv(74, 67%, 95%)
CMYKcmyk(15.7%, 0%, 66.5%, 5.1%)
CIE-LABlab(90.29, -33.72, 70.39)
CIE-LCHlch(90.29, 78.05, 115.59°)
OKLaboklab(90.48% -0.0982 0.159)
OKLCHoklch(90.48% 0.187 121.7)
XYZxyz(58.1399, 76.9357, 19.5701)
Luminance0.7694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF251 #7751F2
analogous
#F2C751 #CCF251 #7CF251
triadic
#CCF251 #51CCF2 #F251CC
tetradic
#CCF251 #51F2C7 #7751F2 #F2517C
square
#CCF251 #51F2C7 #7751F2 #F2517C
split-complementary
#CCF251 #517CF2 #C751F2
monochromatic
#92BB0E #BBEE18 #CCF251 #DDF68A #EDFBC3

Accessibility & contrast

On white

1.28
#CCF251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#CCF251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF251
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF251#FFFFFF#000000##000000
##CCF2511.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE439
Deuteranopia (green-blind)
#FBE35E
Tritanopia (blue-blind)
#D6E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf251;
/* rgb */ color: rgb(204, 242, 81);
/* oklch */ color: oklch(90.5% 0.187 121.7);
Tailwind
colors: {
  custom: {
    50: '#dff68a',
    500: '#ccf251',
    950: '#000000',
  },
}
SCSS
$custom: #ccf251;
$custom-light: #dff68a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf251",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 74.161,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90477,
    "c": 0.18686,
    "h": 121.7
  },
  "luminance": 0.76936
}

Semantic roles & 50–950 ramp

primary
#CCF251
secondary
#4F2EB9
accent
#03E338
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CCF251

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

Preview Lab → · Contrast checker → · Palette generator →

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