#CCF27C#CCF27C

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

Color values

HEX#CCF27C
RGBrgb(204, 242, 124)
HSLhsl(79, 82%, 72%)
HSVhsv(79, 49%, 95%)
CMYKcmyk(15.7%, 0%, 48.8%, 5.1%)
CIE-LABlab(90.69, -30.24, 52.51)
CIE-LCHlch(90.69, 60.59, 119.94°)
OKLaboklab(90.92% -0.0848 0.1253)
OKLCHoklch(90.92% 0.151 124.1)
XYZxyz(60.2921, 77.7965, 30.9047)
Luminance0.7780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF27C #A27CF2
analogous
#F2DD7C #CCF27C #91F27C
triadic
#CCF27C #7CCCF2 #F27CCC
tetradic
#CCF27C #7CF2DD #A27CF2 #F27C91
square
#CCF27C #7CF2DD #A27CF2 #F27C91
split-complementary
#CCF27C #7C91F2 #DD7CF2
monochromatic
#9DDE16 #B6EC44 #CCF27C #E2F8B4 #F4FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF27C#FFFFFF#000000##000000
##CCF27C1.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)
#FDE572
Deuteranopia (green-blind)
#F8E483
Tritanopia (blue-blind)
#D3E8D7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf27c;
/* rgb */ color: rgb(204, 242, 124);
/* oklch */ color: oklch(90.9% 0.151 124.1);
Tailwind
colors: {
  custom: {
    50: '#ddf6a4',
    500: '#ccf27c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf27c;
$custom-light: #ddf6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf27c",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 124
  },
  "hsl": {
    "h": 79.322,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90923,
    "c": 0.15124,
    "h": 124.1
  },
  "luminance": 0.77797
}

Semantic roles & 50–950 ramp

primary
#CCF27C
secondary
#7145CD
accent
#07DE4C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF27C

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

Preview Lab → · Contrast checker → · Palette generator →

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