#CCF04E#CCF04E

#CCF04E is a very light, vivid yellow-green. Relative luminance 0.757; OKLCH L 90.0% C 0.187 H 121.1°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#CCF04E
RGBrgb(204, 240, 78)
HSLhsl(73, 84%, 62%)
HSVhsv(73, 68%, 94%)
CMYKcmyk(15%, 0%, 67.5%, 5.9%)
CIE-LABlab(89.72, -32.98, 70.93)
CIE-LCHlch(89.72, 78.22, 114.94°)
OKLaboklab(90.01% -0.0964 0.1596)
OKLCHoklch(90.01% 0.187 121.1)
XYZxyz(57.4379, 75.7077, 18.7934)
Luminance0.7571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF04E #724EF0
analogous
#F0C34E #CCF04E #7BF04E
triadic
#CCF04E #4ECCF0 #F04ECC
tetradic
#CCF04E #4EF0C3 #724EF0 #F04E7B
square
#CCF04E #4EF0C3 #724EF0 #F04E7B
split-complementary
#CCF04E #4E7BF0 #C34EF0
monochromatic
#90B40F #BCEB16 #CCF04E #DCF586 #EDFABF

Accessibility & contrast

On white

1.30
#CCF04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#CCF04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF04E
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF04E#FFFFFF#000000##000000
##CCF04E1.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE235
Deuteranopia (green-blind)
#FAE25B
Tritanopia (blue-blind)
#D7E4D0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccf04e;
/* rgb */ color: rgb(204, 240, 78);
/* oklch */ color: oklch(90.0% 0.187 121.1);
Tailwind
colors: {
  custom: {
    50: '#dff588',
    500: '#ccf04e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf04e;
$custom-light: #dff588;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf04e",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 78
  },
  "hsl": {
    "h": 73.333,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.90013,
    "c": 0.18652,
    "h": 121.1
  },
  "luminance": 0.75708
}

Semantic roles & 50–950 ramp

primary
#CCF04E
secondary
#4C2EB4
accent
#05E136
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CCF04E

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

Preview Lab → · Contrast checker → · Palette generator →

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