#CCF45F#CCF45F

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

Color values

HEX#CCF45F
RGBrgb(204, 244, 95)
HSLhsl(76, 87%, 66%)
HSVhsv(76, 61%, 96%)
CMYKcmyk(16.4%, 0%, 61.1%, 4.3%)
CIE-LABlab(90.95, -33.69, 65.58)
CIE-LCHlch(90.95, 73.73, 117.19°)
OKLaboklab(91.04% -0.0969 0.1507)
OKLCHoklch(91.04% 0.179 122.7)
XYZxyz(59.3186, 78.3648, 22.8251)
Luminance0.7836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF45F #875FF4
analogous
#F4D15F #CCF45F #82F45F
triadic
#CCF45F #5FCCF4 #F45FCC
tetradic
#CCF45F #5FF4D1 #875FF4 #F45F82
square
#CCF45F #5FF4D1 #875FF4 #F45F82
split-complementary
#CCF45F #5F82F4 #D15FF4
monochromatic
#98CB0E #BAF026 #CCF45F #DEF898 #F1FCD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF45F#FFFFFF#000000##000000
##CCF45F1.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)
#FFE64D
Deuteranopia (green-blind)
#FCE569
Tritanopia (blue-blind)
#D5E9D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf45f;
/* rgb */ color: rgb(204, 244, 95);
/* oklch */ color: oklch(91.0% 0.179 122.7);
Tailwind
colors: {
  custom: {
    50: '#def792',
    500: '#ccf45f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf45f;
$custom-light: #def792;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf45f",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 76.107,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91039,
    "c": 0.17912,
    "h": 122.7
  },
  "luminance": 0.78365
}

Semantic roles & 50–950 ramp

primary
#CCF45F
secondary
#5930C7
accent
#02E43E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CCF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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