#CCF772#CCF772

#CCF772 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.9% C 0.167 H 124.5°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#CCF772
RGBrgb(204, 247, 114)
HSLhsl(79, 89%, 71%)
HSVhsv(79, 54%, 97%)
CMYKcmyk(17.4%, 0%, 53.8%, 3.1%)
CIE-LABlab(91.94, -33.51, 58.55)
CIE-LCHlch(91.94, 67.46, 119.78°)
OKLaboklab(91.9% -0.0947 0.1376)
OKLCHoklch(91.9% 0.167 124.5)
XYZxyz(61.2000, 80.5733, 28.2443)
Luminance0.8057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF772 #9D72F7
analogous
#F7DF72 #CCF772 #89F772
triadic
#CCF772 #72CCF7 #F772CC
tetradic
#CCF772 #72F7DF #9D72F7 #F77289
square
#CCF772 #72F7DF #9D72F7 #F77289
split-complementary
#CCF772 #7289F7 #DF72F7
monochromatic
#9DE20D #B7F438 #CCF772 #E1FAAC #F5FDE2

Accessibility & contrast

On white

1.23
#CCF772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#CCF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF772
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF772#FFFFFF#000000##000000
##CCF7721.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FDE77A
Tritanopia (blue-blind)
#D4EDD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf772;
/* rgb */ color: rgb(204, 247, 114);
/* oklch */ color: oklch(91.9% 0.167 124.5);
Tailwind
colors: {
  custom: {
    50: '#defa9e',
    500: '#ccf772',
    950: '#000000',
  },
}
SCSS
$custom: #ccf772;
$custom-light: #defa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf772",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 79.398,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91897,
    "c": 0.16707,
    "h": 124.5
  },
  "luminance": 0.80574
}

Semantic roles & 50–950 ramp

primary
#CCF772
secondary
#6C3BD2
accent
#00E64A
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF772

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

Preview Lab → · Contrast checker → · Palette generator →

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