#CCF07D#CCF07D

#CCF07D is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.5% C 0.148 H 123.6°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#CCF07D
RGBrgb(204, 240, 125)
HSLhsl(79, 79%, 72%)
HSVhsv(79, 48%, 94%)
CMYKcmyk(15%, 0%, 47.9%, 5.9%)
CIE-LABlab(90.15, -29.21, 51.39)
CIE-LCHlch(90.15, 59.11, 119.61°)
OKLaboklab(90.5% -0.0818 0.1229)
OKLCHoklch(90.5% 0.148 123.6)
XYZxyz(59.7636, 76.6379, 31.0421)
Luminance0.7664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF07D #A17DF0
analogous
#F0DB7D #CCF07D #93F07D
triadic
#CCF07D #7DCCF0 #F07DCC
tetradic
#CCF07D #7DF0DB #A17DF0 #F07D93
square
#CCF07D #7DF0DB #A17DF0 #F07D93
split-complementary
#CCF07D #7D93F0 #DB7DF0
monochromatic
#9DDA19 #B6EA46 #CCF07D #E2F6B4 #F4FCE4

Accessibility & contrast

On white

1.29
#CCF07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#CCF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF07D
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF07D#FFFFFF#000000##000000
##CCF07D1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE473
Deuteranopia (green-blind)
#F6E384
Tritanopia (blue-blind)
#D3E6D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf07d;
/* rgb */ color: rgb(204, 240, 125);
/* oklch */ color: oklch(90.5% 0.148 123.6);
Tailwind
colors: {
  custom: {
    50: '#ddf5a5',
    500: '#ccf07d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf07d;
$custom-light: #ddf5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf07d",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 78.783,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90499,
    "c": 0.1476,
    "h": 123.6
  },
  "luminance": 0.76638
}

Semantic roles & 50–950 ramp

primary
#CCF07D
secondary
#7047CA
accent
#0ADC4C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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