#CCF04F#CCF04F

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

Color values

HEX#CCF04F
RGBrgb(204, 240, 79)
HSLhsl(73, 84%, 63%)
HSVhsv(73, 67%, 94%)
CMYKcmyk(15%, 0%, 67.1%, 5.9%)
CIE-LABlab(89.73, -32.92, 70.56)
CIE-LCHlch(89.73, 77.87, 115.01°)
OKLaboklab(90.02% -0.0962 0.159)
OKLCHoklch(90.02% 0.186 121.2)
XYZxyz(57.4740, 75.7221, 18.9836)
Luminance0.7572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF04F #734FF0
analogous
#F0C34F #CCF04F #7CF04F
triadic
#CCF04F #4FCCF0 #F04FCC
tetradic
#CCF04F #4FF0C3 #734FF0 #F04F7C
square
#CCF04F #4FF0C3 #734FF0 #F04F7C
split-complementary
#CCF04F #4F7CF0 #C34FF0
monochromatic
#90B50F #BCEB17 #CCF04F #DCF587 #EDFAC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF04F#FFFFFF#000000##000000
##CCF04F1.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)
#FEE237
Deuteranopia (green-blind)
#FAE25C
Tritanopia (blue-blind)
#D7E4D0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccf04f;
/* rgb */ color: rgb(204, 240, 79);
/* oklch */ color: oklch(90.0% 0.186 121.2);
Tailwind
colors: {
  custom: {
    50: '#dff589',
    500: '#ccf04f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf04f;
$custom-light: #dff589;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf04f",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 73.416,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.9002,
    "c": 0.18586,
    "h": 121.2
  },
  "luminance": 0.75722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCF04F

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

Preview Lab → · Contrast checker → · Palette generator →

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