#CCF27D#CCF27D

#CCF27D is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.9% C 0.150 H 124.2°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#CCF27D
RGBrgb(204, 242, 125)
HSLhsl(79, 82%, 72%)
HSVhsv(79, 48%, 95%)
CMYKcmyk(15.7%, 0%, 48.3%, 5.1%)
CIE-LABlab(90.70, -30.14, 52.05)
CIE-LCHlch(90.70, 60.15, 120.08°)
OKLaboklab(90.94% -0.0844 0.1243)
OKLCHoklch(90.94% 0.15 124.2)
XYZxyz(60.3556, 77.8219, 31.2395)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF27D #A37DF2
analogous
#F2DD7D #CCF27D #92F27D
triadic
#CCF27D #7DCCF2 #F27DCC
tetradic
#CCF27D #7DF2DD #A37DF2 #F27D92
square
#CCF27D #7DF2DD #A37DF2 #F27D92
split-complementary
#CCF27D #7D92F2 #DD7DF2
monochromatic
#9DDE16 #B6EC45 #CCF27D #E2F8B5 #F4FCE3

Accessibility & contrast

On white

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

On black

16.56
#CCF27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF27D
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF27D#FFFFFF#000000##000000
##CCF27D1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE673
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#D3E8D7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf27d;
/* rgb */ color: rgb(204, 242, 125);
/* oklch */ color: oklch(90.9% 0.150 124.2);
Tailwind
colors: {
  custom: {
    50: '#ddf6a5',
    500: '#ccf27d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf27d;
$custom-light: #ddf6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf27d",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 125
  },
  "hsl": {
    "h": 79.487,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90936,
    "c": 0.15027,
    "h": 124.2
  },
  "luminance": 0.77822
}

Semantic roles & 50–950 ramp

primary
#CCF27D
secondary
#7246CD
accent
#07DE4D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF27D

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

Preview Lab → · Contrast checker → · Palette generator →

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