#CCF17D#CCF17D

#CCF17D is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.7% C 0.149 H 123.9°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#CCF17D
RGBrgb(204, 241, 125)
HSLhsl(79, 81%, 72%)
HSVhsv(79, 48%, 95%)
CMYKcmyk(15.4%, 0%, 48.1%, 5.5%)
CIE-LABlab(90.43, -29.68, 51.72)
CIE-LCHlch(90.43, 59.63, 119.85°)
OKLaboklab(90.72% -0.0831 0.1236)
OKLCHoklch(90.72% 0.149 123.9)
XYZxyz(60.0588, 77.2283, 31.1405)
Luminance0.7723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF17D #A27DF1
analogous
#F1DC7D #CCF17D #92F17D
triadic
#CCF17D #7DCCF1 #F17DCC
tetradic
#CCF17D #7DF1DC #A27DF1 #F17D92
square
#CCF17D #7DF1DC #A27DF1 #F17D92
split-complementary
#CCF17D #7D92F1 #DC7DF1
monochromatic
#9DDC18 #B6EB46 #CCF17D #E2F7B4 #F4FCE3

Accessibility & contrast

On white

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

On black

16.45
#CCF17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF17D
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF17D#FFFFFF#000000##000000
##CCF17D1.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE573
Deuteranopia (green-blind)
#F7E384
Tritanopia (blue-blind)
#D3E7D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf17d;
/* rgb */ color: rgb(204, 241, 125);
/* oklch */ color: oklch(90.7% 0.149 123.9);
Tailwind
colors: {
  custom: {
    50: '#ddf5a5',
    500: '#ccf17d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf17d;
$custom-light: #ddf5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf17d",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 125
  },
  "hsl": {
    "h": 79.138,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90717,
    "c": 0.14894,
    "h": 123.9
  },
  "luminance": 0.77229
}

Semantic roles & 50–950 ramp

primary
#CCF17D
secondary
#7147CC
accent
#09DD4C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF17D

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

Preview Lab → · Contrast checker → · Palette generator →

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