#CCF875#CCF875

#CCF875 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.2% C 0.166 H 125.0°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#CCF875
RGBrgb(204, 248, 117)
HSLhsl(80, 90%, 72%)
HSVhsv(80, 53%, 97%)
CMYKcmyk(17.7%, 0%, 52.8%, 2.7%)
CIE-LABlab(92.25, -33.69, 57.57)
CIE-LCHlch(92.25, 66.70, 120.34°)
OKLaboklab(92.15% -0.095 0.1358)
OKLCHoklch(92.15% 0.166 125)
XYZxyz(61.6802, 81.2560, 29.2606)
Luminance0.8126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF875 #A175F8
analogous
#F8E375 #CCF875 #8BF875
triadic
#CCF875 #75CCF8 #F875CC
tetradic
#CCF875 #75F8E3 #A175F8 #F8758B
square
#CCF875 #75F8E3 #A175F8 #F8758B
split-complementary
#CCF875 #758BF8 #E375F8
monochromatic
#9DE70C #B6F53B #CCF875 #E2FBAF #F4FEE2

Accessibility & contrast

On white

1.22
#CCF875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#CCF875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF875
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF875#FFFFFF#000000##000000
##CCF8751.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA68
Deuteranopia (green-blind)
#FEE87D
Tritanopia (blue-blind)
#D3EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf875;
/* rgb */ color: rgb(204, 248, 117);
/* oklch */ color: oklch(92.2% 0.166 125.0);
Tailwind
colors: {
  custom: {
    50: '#defaa0',
    500: '#ccf875',
    950: '#000000',
  },
}
SCSS
$custom: #ccf875;
$custom-light: #defaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf875",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 80.153,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92152,
    "c": 0.16567,
    "h": 125
  },
  "luminance": 0.81257
}

Semantic roles & 50–950 ramp

primary
#CCF875
secondary
#703ED3
accent
#00E64D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF875

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

Preview Lab → · Contrast checker → · Palette generator →

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