#CCF45D#CCF45D

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

Color values

HEX#CCF45D
RGBrgb(204, 244, 93)
HSLhsl(76, 87%, 66%)
HSVhsv(76, 62%, 96%)
CMYKcmyk(16.4%, 0%, 61.9%, 4.3%)
CIE-LABlab(90.93, -33.83, 66.38)
CIE-LCHlch(90.93, 74.50, 117.01°)
OKLaboklab(91.02% -0.0975 0.1521)
OKLCHoklch(91.02% 0.181 122.7)
XYZxyz(59.2289, 78.3289, 22.3525)
Luminance0.7833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF45D #855DF4
analogous
#F4D05D #CCF45D #80F45D
triadic
#CCF45D #5DCCF4 #F45DCC
tetradic
#CCF45D #5DF4D0 #855DF4 #F45D80
square
#CCF45D #5DF4D0 #855DF4 #F45D80
split-complementary
#CCF45D #5D80F4 #D05DF4
monochromatic
#97C90E #BAF024 #CCF45D #DEF896 #F0FCD0

Accessibility & contrast

On white

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

On black

16.67
#CCF45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF45D
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF45D#FFFFFF#000000##000000
##CCF45D1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf45d;
/* rgb */ color: rgb(204, 244, 93);
/* oklch */ color: oklch(91.0% 0.181 122.7);
Tailwind
colors: {
  custom: {
    50: '#dff791',
    500: '#ccf45d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf45d;
$custom-light: #dff791;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf45d",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 93
  },
  "hsl": {
    "h": 75.894,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.9102,
    "c": 0.18065,
    "h": 122.7
  },
  "luminance": 0.78329
}

Semantic roles & 50–950 ramp

primary
#CCF45D
secondary
#5730C6
accent
#02E43E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF45D

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

Preview Lab → · Contrast checker → · Palette generator →

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