#CCF171#CCF171

#CCF171 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.6% C 0.160 H 123.0°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#CCF171
RGBrgb(204, 241, 113)
HSLhsl(77, 82%, 69%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(15.4%, 0%, 53.1%, 5.5%)
CIE-LABlab(90.29, -30.83, 57.08)
CIE-LCHlch(90.29, 64.88, 118.37°)
OKLaboklab(90.57% -0.0873 0.1344)
OKLCHoklch(90.57% 0.16 123)
XYZxyz(59.3380, 76.9400, 27.3444)
Luminance0.7694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF171 #9671F1
analogous
#F1D671 #CCF171 #8CF171
triadic
#CCF171 #71CCF1 #F171CC
tetradic
#CCF171 #71F1D6 #9671F1 #F1718C
square
#CCF171 #71F1D6 #9671F1 #F1718C
split-complementary
#CCF171 #718CF1 #D671F1
monochromatic
#9CD315 #B8EC39 #CCF171 #E0F6A9 #F4FCE0

Accessibility & contrast

On white

1.28
#CCF171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#CCF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF171
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF171#FFFFFF#000000##000000
##CCF1711.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#D4E7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf171;
/* rgb */ color: rgb(204, 241, 113);
/* oklch */ color: oklch(90.6% 0.160 123.0);
Tailwind
colors: {
  custom: {
    50: '#def59d',
    500: '#ccf171',
    950: '#000000',
  },
}
SCSS
$custom: #ccf171;
$custom-light: #def59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf171",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 77.344,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90568,
    "c": 0.16023,
    "h": 123
  },
  "luminance": 0.7694
}

Semantic roles & 50–950 ramp

primary
#CCF171
secondary
#653CCA
accent
#07DE45
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF171

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

Preview Lab → · Contrast checker → · Palette generator →

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