#CCF275#CCF275

#CCF275 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.8% C 0.158 H 123.5°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#CCF275
RGBrgb(204, 242, 117)
HSLhsl(78, 83%, 70%)
HSVhsv(78, 52%, 95%)
CMYKcmyk(15.7%, 0%, 51.7%, 5.1%)
CIE-LABlab(90.61, -30.92, 55.64)
CIE-LCHlch(90.61, 63.66, 119.07°)
OKLaboklab(90.84% -0.0872 0.1316)
OKLCHoklch(90.84% 0.158 123.5)
XYZxyz(59.8650, 77.6257, 28.6556)
Luminance0.7763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF275 #9B75F2
analogous
#F2D975 #CCF275 #8DF275
triadic
#CCF275 #75CCF2 #F275CC
tetradic
#CCF275 #75F2D9 #9B75F2 #F2758D
square
#CCF275 #75F2D9 #9B75F2 #F2758D
split-complementary
#CCF275 #758DF2 #D975F2
monochromatic
#9DD814 #B7ED3D #CCF275 #E1F7AD #F5FCE3

Accessibility & contrast

On white

1.27
#CCF275 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#CCF275 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF275
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF275#FFFFFF#000000##000000
##CCF2751.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE569
Deuteranopia (green-blind)
#F9E47D
Tritanopia (blue-blind)
#D4E8D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf275;
/* rgb */ color: rgb(204, 242, 117);
/* oklch */ color: oklch(90.8% 0.158 123.5);
Tailwind
colors: {
  custom: {
    50: '#def6a0',
    500: '#ccf275',
    950: '#000000',
  },
}
SCSS
$custom: #ccf275;
$custom-light: #def6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf275",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 117
  },
  "hsl": {
    "h": 78.24,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90835,
    "c": 0.15787,
    "h": 123.5
  },
  "luminance": 0.77626
}

Semantic roles & 50–950 ramp

primary
#CCF275
secondary
#6A3FCC
accent
#06DF48
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF275

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

Preview Lab → · Contrast checker → · Palette generator →

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