#CCF771#CCF771

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

Color values

HEX#CCF771
RGBrgb(204, 247, 113)
HSLhsl(79, 89%, 71%)
HSVhsv(79, 54%, 97%)
CMYKcmyk(17.4%, 0%, 54.3%, 3.1%)
CIE-LABlab(91.93, -33.60, 58.99)
CIE-LCHlch(91.93, 67.88, 119.66°)
OKLaboklab(91.89% -0.095 0.1385)
OKLCHoklch(91.89% 0.168 124.5)
XYZxyz(61.1434, 80.5507, 27.9462)
Luminance0.8055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF771 #9C71F7
analogous
#F7DF71 #CCF771 #89F771
triadic
#CCF771 #71CCF7 #F771CC
tetradic
#CCF771 #71F7DF #9C71F7 #F77189
square
#CCF771 #71F7DF #9C71F7 #F77189
split-complementary
#CCF771 #7189F7 #DF71F7
monochromatic
#9DE10D #B7F437 #CCF771 #E1FAAB #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF771#FFFFFF#000000##000000
##CCF7711.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)
#FFE964
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#D4ECD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf771;
/* rgb */ color: rgb(204, 247, 113);
/* oklch */ color: oklch(91.9% 0.168 124.5);
Tailwind
colors: {
  custom: {
    50: '#defa9d',
    500: '#ccf771',
    950: '#000000',
  },
}
SCSS
$custom: #ccf771;
$custom-light: #defa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf771",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 79.254,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91886,
    "c": 0.16795,
    "h": 124.5
  },
  "luminance": 0.80551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCF771

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

Preview Lab → · Contrast checker → · Palette generator →

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