#CCF45A#CCF45A

#CCF45A is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.0% C 0.183 H 122.5°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#CCF45A
RGBrgb(204, 244, 90)
HSLhsl(76, 88%, 65%)
HSVhsv(76, 63%, 96%)
CMYKcmyk(16.4%, 0%, 63.1%, 4.3%)
CIE-LABlab(90.91, -34.04, 67.56)
CIE-LCHlch(90.91, 75.65, 116.74°)
OKLaboklab(90.99% -0.0983 0.1542)
OKLCHoklch(90.99% 0.183 122.5)
XYZxyz(59.0986, 78.2767, 21.6663)
Luminance0.7828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF45A #825AF4
analogous
#F4CF5A #CCF45A #7FF45A
triadic
#CCF45A #5ACCF4 #F45ACC
tetradic
#CCF45A #5AF4CF #825AF4 #F45A7F
square
#CCF45A #5AF4CF #825AF4 #F45A7F
split-complementary
#CCF45A #5A7FF4 #CF5AF4
monochromatic
#96C60D #BAF021 #CCF45A #DEF893 #EFFCCD

Accessibility & contrast

On white

1.26
#CCF45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#CCF45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF45A
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF45A#FFFFFF#000000##000000
##CCF45A1.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE646
Deuteranopia (green-blind)
#FCE565
Tritanopia (blue-blind)
#D6E8D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf45a;
/* rgb */ color: rgb(204, 244, 90);
/* oklch */ color: oklch(91.0% 0.183 122.5);
Tailwind
colors: {
  custom: {
    50: '#dff78f',
    500: '#ccf45a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf45a;
$custom-light: #dff78f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf45a",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 90
  },
  "hsl": {
    "h": 75.584,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90994,
    "c": 0.18289,
    "h": 122.5
  },
  "luminance": 0.78277
}

Semantic roles & 50–950 ramp

primary
#CCF45A
secondary
#552FC3
accent
#01E43C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF45A

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

Preview Lab → · Contrast checker → · Palette generator →

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