#CCF372#CCF372

#CCF372 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.0% C 0.162 H 123.6°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#CCF372
RGBrgb(204, 243, 114)
HSLhsl(78, 84%, 70%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(16%, 0%, 53.1%, 4.7%)
CIE-LABlab(90.85, -31.67, 57.28)
CIE-LCHlch(90.85, 65.45, 118.93°)
OKLaboklab(91.02% -0.0895 0.1349)
OKLCHoklch(91.02% 0.162 123.6)
XYZxyz(59.9899, 78.1532, 27.8410)
Luminance0.7815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF372 #9972F3
analogous
#F3DA72 #CCF372 #8BF372
triadic
#CCF372 #72CCF3 #F372CC
tetradic
#CCF372 #72F3DA #9972F3 #F3728B
square
#CCF372 #72F3DA #9972F3 #F3728B
split-complementary
#CCF372 #728BF3 #DA72F3
monochromatic
#9CD812 #B8EE3A #CCF372 #E0F8AA #F5FDE3

Accessibility & contrast

On white

1.26
#CCF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#CCF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF372
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF372#FFFFFF#000000##000000
##CCF3721.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#FAE57A
Tritanopia (blue-blind)
#D4E9D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf372;
/* rgb */ color: rgb(204, 243, 114);
/* oklch */ color: oklch(91.0% 0.162 123.6);
Tailwind
colors: {
  custom: {
    50: '#def79e',
    500: '#ccf372',
    950: '#000000',
  },
}
SCSS
$custom: #ccf372;
$custom-light: #def79e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf372",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 78.14,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.91018,
    "c": 0.1619,
    "h": 123.6
  },
  "luminance": 0.78153
}

Semantic roles & 50–950 ramp

primary
#CCF372
secondary
#683CCD
accent
#05E147
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF372

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

Preview Lab → · Contrast checker → · Palette generator →

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