#CCF15F#CCF15F

#CCF15F is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.4% C 0.175 H 122.0°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#CCF15F
RGBrgb(204, 241, 95)
HSLhsl(75, 84%, 66%)
HSVhsv(75, 61%, 95%)
CMYKcmyk(15.4%, 0%, 60.6%, 5.5%)
CIE-LABlab(90.13, -32.31, 64.69)
CIE-LCHlch(90.13, 72.31, 116.54°)
OKLaboklab(90.38% -0.093 0.1488)
OKLCHoklch(90.38% 0.175 122)
XYZxyz(58.4233, 76.5741, 22.5267)
Luminance0.7657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF15F #845FF1
analogous
#F1CD5F #CCF15F #83F15F
triadic
#CCF15F #5FCCF1 #F15FCC
tetradic
#CCF15F #5FF1CD #845FF1 #F15F83
square
#CCF15F #5FF1CD #845FF1 #F15F83
split-complementary
#CCF15F #5F83F1 #CD5FF1
monochromatic
#97C411 #BAEC27 #CCF15F #DEF697 #F0FBD0

Accessibility & contrast

On white

1.29
#CCF15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#CCF15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF15F
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF15F#FFFFFF#000000##000000
##CCF15F1.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE44E
Deuteranopia (green-blind)
#FAE369
Tritanopia (blue-blind)
#D6E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf15f;
/* rgb */ color: rgb(204, 241, 95);
/* oklch */ color: oklch(90.4% 0.175 122.0);
Tailwind
colors: {
  custom: {
    50: '#def592',
    500: '#ccf15f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf15f;
$custom-light: #def592;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf15f",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 95
  },
  "hsl": {
    "h": 75.205,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90377,
    "c": 0.17546,
    "h": 122
  },
  "luminance": 0.76574
}

Semantic roles & 50–950 ramp

primary
#CCF15F
secondary
#5732C2
accent
#05E03D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CCF15F

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

Preview Lab → · Contrast checker → · Palette generator →

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