#CCF782#CCF782

#CCF782 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.1% C 0.152 H 125.8°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#CCF782
RGBrgb(204, 247, 130)
HSLhsl(82, 88%, 74%)
HSVhsv(82, 47%, 97%)
CMYKcmyk(17.4%, 0%, 47.4%, 3.1%)
CIE-LABlab(92.12, -31.95, 51.44)
CIE-LCHlch(92.12, 60.55, 121.85°)
OKLaboklab(92.1% -0.0891 0.1233)
OKLCHoklch(92.1% 0.152 125.8)
XYZxyz(62.1917, 80.9700, 33.4671)
Luminance0.8097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF782 #AD82F7
analogous
#F7E782 #CCF782 #92F782
triadic
#CCF782 #82CCF7 #F782CC
tetradic
#CCF782 #82F7E7 #AD82F7 #F78292
square
#CCF782 #82F7E7 #AD82F7 #F78292
split-complementary
#CCF782 #8292F7 #E782F7
monochromatic
#9DEF0F #B5F348 #CCF782 #E3FBBC #F3FDE2

Accessibility & contrast

On white

1.22
#CCF782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#CCF782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF782
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF782#FFFFFF#000000##000000
##CCF7821.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA78
Deuteranopia (green-blind)
#FCE889
Tritanopia (blue-blind)
#D2EEDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf782;
/* rgb */ color: rgb(204, 247, 130);
/* oklch */ color: oklch(92.1% 0.152 125.8);
Tailwind
colors: {
  custom: {
    50: '#ddfaa8',
    500: '#ccf782',
    950: '#000000',
  },
}
SCSS
$custom: #ccf782;
$custom-light: #ddfaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf782",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 130
  },
  "hsl": {
    "h": 82.051,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92097,
    "c": 0.15212,
    "h": 125.8
  },
  "luminance": 0.80971
}

Semantic roles & 50–950 ramp

primary
#CCF782
secondary
#7C49D4
accent
#01E555
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF782

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

Preview Lab → · Contrast checker → · Palette generator →

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