#CCF672#CCF672

#CCF672 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.7% C 0.166 H 124.3°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#CCF672
RGBrgb(204, 246, 114)
HSLhsl(79, 88%, 71%)
HSVhsv(79, 54%, 96%)
CMYKcmyk(17.1%, 0%, 53.7%, 3.5%)
CIE-LABlab(91.67, -33.05, 58.24)
CIE-LCHlch(91.67, 66.96, 119.57°)
OKLaboklab(91.68% -0.0934 0.1369)
OKLCHoklch(91.68% 0.166 124.3)
XYZxyz(60.8950, 79.9634, 28.1427)
Luminance0.7996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF672 #9C72F6
analogous
#F6DE72 #CCF672 #8AF672
triadic
#CCF672 #72CCF6 #F672CC
tetradic
#CCF672 #72F6DE #9C72F6 #F6728A
square
#CCF672 #72F6DE #9C72F6 #F6728A
split-complementary
#CCF672 #728AF6 #DE72F6
monochromatic
#9DDF0E #B7F238 #CCF672 #E1FAAC #F5FDE2

Accessibility & contrast

On white

1.24
#CCF672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#CCF672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF672
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF672#FFFFFF#000000##000000
##CCF6721.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE865
Deuteranopia (green-blind)
#FCE77A
Tritanopia (blue-blind)
#D4ECD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf672;
/* rgb */ color: rgb(204, 246, 114);
/* oklch */ color: oklch(91.7% 0.166 124.3);
Tailwind
colors: {
  custom: {
    50: '#def99e',
    500: '#ccf672',
    950: '#000000',
  },
}
SCSS
$custom: #ccf672;
$custom-light: #def99e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf672",
  "rgb": {
    "r": 204,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 79.091,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91677,
    "c": 0.16578,
    "h": 124.3
  },
  "luminance": 0.79964
}

Semantic roles & 50–950 ramp

primary
#CCF672
secondary
#6B3CD1
accent
#01E549
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF672

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

Preview Lab → · Contrast checker → · Palette generator →

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