#CCF54A#CCF54A

#CCF54A is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.1% C 0.195 H 122.2°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#CCF54A
RGBrgb(204, 245, 74)
HSLhsl(74, 90%, 63%)
HSVhsv(74, 70%, 96%)
CMYKcmyk(16.7%, 0%, 69.8%, 3.9%)
CIE-LABlab(91.07, -35.49, 73.71)
CIE-LCHlch(91.07, 81.81, 115.71°)
OKLaboklab(91.09% -0.1037 0.1649)
OKLCHoklch(91.09% 0.195 122.2)
XYZxyz(58.7911, 78.6365, 18.5583)
Luminance0.7864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF54A #734AF5
analogous
#F5C94A #CCF54A #76F54A
triadic
#CCF54A #4ACCF5 #F54ACC
tetradic
#CCF54A #4AF5C9 #734AF5 #F54A76
square
#CCF54A #4AF5C9 #734AF5 #F54A76
split-complementary
#CCF54A #4A76F5 #C94AF5
monochromatic
#90BA0A #BCF210 #CCF54A #DCF884 #EDFBBE

Accessibility & contrast

On white

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

On black

16.73
#CCF54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF54A
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF54A#FFFFFF#000000##000000
##CCF54A1.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE62D
Deuteranopia (green-blind)
#FEE558
Tritanopia (blue-blind)
#D6E9D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf54a;
/* rgb */ color: rgb(204, 245, 74);
/* oklch */ color: oklch(91.1% 0.195 122.2);
Tailwind
colors: {
  custom: {
    50: '#dff887',
    500: '#ccf54a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf54a;
$custom-light: #dff887;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf54a",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 74
  },
  "hsl": {
    "h": 74.386,
    "s": 89.529,
    "l": 62.549
  },
  "oklch": {
    "l": 0.9109,
    "c": 0.19482,
    "h": 122.2
  },
  "luminance": 0.78637
}

Semantic roles & 50–950 ramp

primary
#CCF54A
secondary
#4D2AB9
accent
#00E637
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CCF54A

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

Preview Lab → · Contrast checker → · Palette generator →

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