#CCF87F#CCF87F

#CCF87F is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.3% C 0.156 H 125.8°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#CCF87F
RGBrgb(204, 248, 127)
HSLhsl(82, 90%, 74%)
HSVhsv(82, 49%, 97%)
CMYKcmyk(17.7%, 0%, 48.8%, 2.7%)
CIE-LABlab(92.36, -32.72, 53.13)
CIE-LCHlch(92.36, 62.39, 121.63°)
OKLaboklab(92.28% -0.0914 0.1268)
OKLCHoklch(92.28% 0.156 125.8)
XYZxyz(62.2998, 81.5039, 32.5242)
Luminance0.8150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF87F #AB7FF8
analogous
#F8E77F #CCF87F #8FF87F
triadic
#CCF87F #7FCCF8 #F87FCC
tetradic
#CCF87F #7FF8E7 #AB7FF8 #F87F8F
square
#CCF87F #7FF8E7 #AB7FF8 #F87F8F
split-complementary
#CCF87F #7F8FF8 #E77FF8
monochromatic
#9DF00D #B5F545 #CCF87F #E3FBB9 #F3FDE2

Accessibility & contrast

On white

1.21
#CCF87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#CCF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF87F
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF87F#FFFFFF#000000##000000
##CCF87F1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB74
Deuteranopia (green-blind)
#FDE886
Tritanopia (blue-blind)
#D3EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf87f;
/* rgb */ color: rgb(204, 248, 127);
/* oklch */ color: oklch(92.3% 0.156 125.8);
Tailwind
colors: {
  custom: {
    50: '#ddfaa6',
    500: '#ccf87f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf87f;
$custom-light: #ddfaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf87f",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 81.818,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92277,
    "c": 0.15637,
    "h": 125.8
  },
  "luminance": 0.81504
}

Semantic roles & 50–950 ramp

primary
#CCF87F
secondary
#7A46D5
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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