#CCF972#CCF972

#CCF972 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.3% C 0.170 H 125.0°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#CCF972
RGBrgb(204, 249, 114)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 54%, 98%)
CMYKcmyk(18.1%, 0%, 54.2%, 2.4%)
CIE-LABlab(92.49, -34.42, 59.19)
CIE-LCHlch(92.49, 68.47, 120.18°)
OKLaboklab(92.34% -0.0972 0.139)
OKLCHoklch(92.34% 0.17 125)
XYZxyz(61.8149, 81.8031, 28.4493)
Luminance0.8180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF972 #9F72F9
analogous
#F9E272 #CCF972 #88F972
triadic
#CCF972 #72CCF9 #F972CC
tetradic
#CCF972 #72F9E2 #9F72F9 #F97288
square
#CCF972 #72F9E2 #9F72F9 #F97288
split-complementary
#CCF972 #7288F9 #E272F9
monochromatic
#9DE70A #B7F737 #CCF972 #E1FBAD #F4FEE2

Accessibility & contrast

On white

1.21
#CCF972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#CCF972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF972
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF972#FFFFFF#000000##000000
##CCF9721.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#D4EFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf972;
/* rgb */ color: rgb(204, 249, 114);
/* oklch */ color: oklch(92.3% 0.170 125.0);
Tailwind
colors: {
  custom: {
    50: '#defb9e',
    500: '#ccf972',
    950: '#000000',
  },
}
SCSS
$custom: #ccf972;
$custom-light: #defb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf972",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 80,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92338,
    "c": 0.16965,
    "h": 125
  },
  "luminance": 0.81804
}

Semantic roles & 50–950 ramp

primary
#CCF972
secondary
#6E3BD4
accent
#00E64D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF972

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

Preview Lab → · Contrast checker → · Palette generator →

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