#CCF17A#CCF17A

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

Color values

HEX#CCF17A
RGBrgb(204, 241, 122)
HSLhsl(79, 81%, 71%)
HSVhsv(79, 49%, 95%)
CMYKcmyk(15.4%, 0%, 49.4%, 5.5%)
CIE-LABlab(90.39, -29.98, 53.08)
CIE-LCHlch(90.39, 60.96, 119.46°)
OKLaboklab(90.68% -0.0842 0.1264)
OKLCHoklch(90.68% 0.152 123.7)
XYZxyz(59.8701, 77.1528, 30.1464)
Luminance0.7715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF17A #9F7AF1
analogous
#F1DA7A #CCF17A #90F17A
triadic
#CCF17A #7ACCF1 #F17ACC
tetradic
#CCF17A #7AF1DA #9F7AF1 #F17A90
square
#CCF17A #7AF1DA #9F7AF1 #F17A90
split-complementary
#CCF17A #7A90F1 #DA7AF1
monochromatic
#9DDA17 #B7EB43 #CCF17A #E1F7B1 #F4FCE3

Accessibility & contrast

On white

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

On black

16.43
#CCF17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF17A
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF17A#FFFFFF#000000##000000
##CCF17A1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56F
Deuteranopia (green-blind)
#F8E381
Tritanopia (blue-blind)
#D4E7D6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf17a;
/* rgb */ color: rgb(204, 241, 122);
/* oklch */ color: oklch(90.7% 0.152 123.7);
Tailwind
colors: {
  custom: {
    50: '#ddf5a3',
    500: '#ccf17a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf17a;
$custom-light: #ddf5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf17a",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 78.655,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90678,
    "c": 0.15184,
    "h": 123.7
  },
  "luminance": 0.77153
}

Semantic roles & 50–950 ramp

primary
#CCF17A
secondary
#6E44CB
accent
#08DD4A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF17A

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

Preview Lab → · Contrast checker → · Palette generator →

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