#CCF45C#CCF45C

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

Color values

HEX#CCF45C
RGBrgb(204, 244, 92)
HSLhsl(76, 87%, 66%)
HSVhsv(76, 62%, 96%)
CMYKcmyk(16.4%, 0%, 62.3%, 4.3%)
CIE-LABlab(90.92, -33.90, 66.77)
CIE-LCHlch(90.92, 74.89, 116.92°)
OKLaboklab(91.01% -0.0977 0.1528)
OKLCHoklch(91.01% 0.181 122.6)
XYZxyz(59.1849, 78.3113, 22.1207)
Luminance0.7831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF45C #845CF4
analogous
#F4D05C #CCF45C #80F45C
triadic
#CCF45C #5CCCF4 #F45CCC
tetradic
#CCF45C #5CF4D0 #845CF4 #F45C80
square
#CCF45C #5CF4D0 #845CF4 #F45C80
split-complementary
#CCF45C #5C80F4 #D05CF4
monochromatic
#97C80E #BAF023 #CCF45C #DEF895 #F0FCCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF45C#FFFFFF#000000##000000
##CCF45C1.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)
#FFE649
Deuteranopia (green-blind)
#FCE567
Tritanopia (blue-blind)
#D6E8D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf45c;
/* rgb */ color: rgb(204, 244, 92);
/* oklch */ color: oklch(91.0% 0.181 122.6);
Tailwind
colors: {
  custom: {
    50: '#dff790',
    500: '#ccf45c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf45c;
$custom-light: #dff790;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf45c",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 75.789,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91011,
    "c": 0.1814,
    "h": 122.6
  },
  "luminance": 0.78311
}

Semantic roles & 50–950 ramp

primary
#CCF45C
secondary
#572FC5
accent
#02E43D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF45C

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

Preview Lab → · Contrast checker → · Palette generator →

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