#CCF17F#CCF17F

#CCF17F is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.147 H 124.1°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#CCF17F
RGBrgb(204, 241, 127)
HSLhsl(79, 80%, 72%)
HSVhsv(79, 47%, 95%)
CMYKcmyk(15.4%, 0%, 47.3%, 5.5%)
CIE-LABlab(90.45, -29.47, 50.81)
CIE-LCHlch(90.45, 58.74, 120.11°)
OKLaboklab(90.74% -0.0824 0.1217)
OKLCHoklch(90.74% 0.147 124.1)
XYZxyz(60.1879, 77.2799, 31.8202)
Luminance0.7728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF17F #A47FF1
analogous
#F1DD7F #CCF17F #93F17F
triadic
#CCF17F #7FCCF1 #F17FCC
tetradic
#CCF17F #7FF1DD #A47FF1 #F17F93
square
#CCF17F #7FF1DD #A47FF1 #F17F93
split-complementary
#CCF17F #7F93F1 #DD7FF1
monochromatic
#9DDD18 #B6EB48 #CCF17F #E2F7B6 #F4FCE3

Accessibility & contrast

On white

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

On black

16.46
#CCF17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF17F
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF17F#FFFFFF#000000##000000
##CCF17F1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf17f;
/* rgb */ color: rgb(204, 241, 127);
/* oklch */ color: oklch(90.7% 0.147 124.1);
Tailwind
colors: {
  custom: {
    50: '#ddf5a6',
    500: '#ccf17f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf17f;
$custom-light: #ddf5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf17f",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 127
  },
  "hsl": {
    "h": 79.474,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90744,
    "c": 0.14697,
    "h": 124.1
  },
  "luminance": 0.7728
}

Semantic roles & 50–950 ramp

primary
#CCF17F
secondary
#7348CC
accent
#09DD4E
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF17F

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

Preview Lab → · Contrast checker → · Palette generator →

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