#CCF396#CCF396

#CCF396 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.5% C 0.126 H 127.3°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#CCF396
RGBrgb(204, 243, 150)
HSLhsl(85, 79%, 77%)
HSVhsv(85, 38%, 95%)
CMYKcmyk(16%, 0%, 38.3%, 4.7%)
CIE-LABlab(91.30, -27.80, 40.77)
CIE-LCHlch(91.30, 49.34, 124.29°)
OKLaboklab(91.52% -0.0762 0.1002)
OKLCHoklch(91.52% 0.126 127.3)
XYZxyz(62.4568, 79.1399, 40.8333)
Luminance0.7914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF396 #BD96F3
analogous
#F3EB96 #CCF396 #9EF396
triadic
#CCF396 #96CCF3 #F396CC
tetradic
#CCF396 #96F3EB #BD96F3 #F3969E
square
#CCF396 #96F3EB #BD96F3 #F3969E
split-complementary
#CCF396 #969EF3 #EB96F3
monochromatic
#97E628 #B1ED5F #CCF396 #E7F9CD #F2FCE4

Accessibility & contrast

On white

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

On black

16.83
#CCF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF396
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF396#FFFFFF#000000##000000
##CCF3961.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#F6E59B
Tritanopia (blue-blind)
#D1EBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf396;
/* rgb */ color: rgb(204, 243, 150);
/* oklch */ color: oklch(91.5% 0.126 127.3);
Tailwind
colors: {
  custom: {
    50: '#ddf7b6',
    500: '#ccf396',
    950: '#000000',
  },
}
SCSS
$custom: #ccf396;
$custom-light: #ddf7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf396",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 85.161,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91524,
    "c": 0.12592,
    "h": 127.3
  },
  "luminance": 0.79141
}

Semantic roles & 50–950 ramp

primary
#CCF396
secondary
#8D5DD1
accent
#0ADC62
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF396

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

Preview Lab → · Contrast checker → · Palette generator →

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