#CCF54E#CCF54E

#CCF54E is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.1% C 0.192 H 122.3°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#CCF54E
RGBrgb(204, 245, 78)
HSLhsl(75, 89%, 63%)
HSVhsv(75, 68%, 96%)
CMYKcmyk(16.7%, 0%, 68.2%, 3.9%)
CIE-LABlab(91.09, -35.26, 72.32)
CIE-LCHlch(91.09, 80.46, 115.99°)
OKLaboklab(91.12% -0.1027 0.1626)
OKLCHoklch(91.12% 0.192 122.3)
XYZxyz(58.9301, 78.6921, 19.2908)
Luminance0.7869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF54E #774EF5
analogous
#F5CB4E #CCF54E #78F54E
triadic
#CCF54E #4ECCF5 #F54ECC
tetradic
#CCF54E #4EF5CB #774EF5 #F54E78
square
#CCF54E #4EF5CB #774EF5 #F54E78
split-complementary
#CCF54E #4E78F5 #CB4EF5
monochromatic
#92BE0B #BBF214 #CCF54E #DDF888 #EDFCC2

Accessibility & contrast

On white

1.25
#CCF54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#CCF54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF54E
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF54E#FFFFFF#000000##000000
##CCF54E1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf54e;
/* rgb */ color: rgb(204, 245, 78);
/* oklch */ color: oklch(91.1% 0.192 122.3);
Tailwind
colors: {
  custom: {
    50: '#dff889',
    500: '#ccf54e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf54e;
$custom-light: #dff889;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf54e",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 78
  },
  "hsl": {
    "h": 74.731,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91119,
    "c": 0.19232,
    "h": 122.3
  },
  "luminance": 0.78692
}

Semantic roles & 50–950 ramp

primary
#CCF54E
secondary
#4F2BBC
accent
#00E638
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CCF54E

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

Preview Lab → · Contrast checker → · Palette generator →

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