#CCF951#CCF951

#CCF951 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.0% C 0.195 H 123.3°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#CCF951
RGBrgb(204, 249, 81)
HSLhsl(76, 93%, 65%)
HSVhsv(76, 67%, 98%)
CMYKcmyk(18.1%, 0%, 67.5%, 2.4%)
CIE-LABlab(92.21, -36.89, 72.36)
CIE-LCHlch(92.21, 81.22, 117.01°)
OKLaboklab(92.03% -0.107 0.1631)
OKLCHoklch(92.03% 0.195 123.3)
XYZxyz(60.2634, 81.1825, 20.2779)
Luminance0.8118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF951 #7E51F9
analogous
#F9D251 #CCF951 #78F951
triadic
#CCF951 #51CCF9 #F951CC
tetradic
#CCF951 #51F9D2 #7E51F9 #F95178
square
#CCF951 #51F9D2 #7E51F9 #F95178
split-complementary
#CCF951 #5178F9 #D251F9
monochromatic
#95C907 #BBF716 #CCF951 #DDFB8C #EFFDC7

Accessibility & contrast

On white

1.22
#CCF951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#CCF951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF951
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF951#FFFFFF#000000##000000
##CCF9511.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA37
Deuteranopia (green-blind)
#FFE85F
Tritanopia (blue-blind)
#D6EDD7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf951;
/* rgb */ color: rgb(204, 249, 81);
/* oklch */ color: oklch(92.0% 0.195 123.3);
Tailwind
colors: {
  custom: {
    50: '#dffb8b',
    500: '#ccf951',
    950: '#000000',
  },
}
SCSS
$custom: #ccf951;
$custom-light: #dffb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf951",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 81
  },
  "hsl": {
    "h": 76.071,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92027,
    "c": 0.19505,
    "h": 123.3
  },
  "luminance": 0.81183
}

Semantic roles & 50–950 ramp

primary
#CCF951
secondary
#5329C5
accent
#00E63D
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CCF951

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

Preview Lab → · Contrast checker → · Palette generator →

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