#CCF786#CCF786

#CCF786 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.2% C 0.148 H 126.2°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#CCF786
RGBrgb(204, 247, 134)
HSLhsl(83, 88%, 75%)
HSVhsv(83, 46%, 97%)
CMYKcmyk(17.4%, 0%, 45.7%, 3.1%)
CIE-LABlab(92.17, -31.52, 49.61)
CIE-LCHlch(92.17, 58.78, 122.43°)
OKLaboklab(92.15% -0.0876 0.1195)
OKLCHoklch(92.15% 0.148 126.2)
XYZxyz(62.4654, 81.0795, 34.9086)
Luminance0.8108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF786 #B186F7
analogous
#F7EA86 #CCF786 #94F786
triadic
#CCF786 #86CCF7 #F786CC
tetradic
#CCF786 #86F7EA #B186F7 #F78694
square
#CCF786 #86F7EA #B186F7 #F78694
split-complementary
#CCF786 #8694F7 #EA86F7
monochromatic
#9CEF13 #B4F34D #CCF786 #E4FBBF #F3FDE2

Accessibility & contrast

On white

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

On black

17.22
#CCF786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF786
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF786#FFFFFF#000000##000000
##CCF7861.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf786;
/* rgb */ color: rgb(204, 247, 134);
/* oklch */ color: oklch(92.2% 0.148 126.2);
Tailwind
colors: {
  custom: {
    50: '#ddfaab',
    500: '#ccf786',
    950: '#000000',
  },
}
SCSS
$custom: #ccf786;
$custom-light: #ddfaab;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf786",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 82.832,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92152,
    "c": 0.14817,
    "h": 126.2
  },
  "luminance": 0.8108
}

Semantic roles & 50–950 ramp

primary
#CCF786
secondary
#804DD4
accent
#01E458
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF786

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

Preview Lab → · Contrast checker → · Palette generator →

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