#CCF86C#CCF86C

#CCF86C is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.1% C 0.174 H 124.4°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#CCF86C
RGBrgb(204, 248, 108)
HSLhsl(79, 91%, 70%)
HSVhsv(79, 56%, 97%)
CMYKcmyk(17.7%, 0%, 56.5%, 2.7%)
CIE-LABlab(92.16, -34.49, 61.44)
CIE-LCHlch(92.16, 70.46, 119.31°)
OKLaboklab(92.05% -0.0979 0.1433)
OKLCHoklch(92.05% 0.174 124.4)
XYZxyz(61.1762, 81.0544, 26.6066)
Luminance0.8105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF86C #986CF8
analogous
#F8DE6C #CCF86C #86F86C
triadic
#CCF86C #6CCCF8 #F86CCC
tetradic
#CCF86C #6CF8DE #986CF8 #F86C86
square
#CCF86C #6CF8DE #986CF8 #F86C86
split-complementary
#CCF86C #6C86F8 #DE6CF8
monochromatic
#9CDF0B #B8F532 #CCF86C #E0FBA6 #F5FEE1

Accessibility & contrast

On white

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

On black

17.21
#CCF86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF86C
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF86C#FFFFFF#000000##000000
##CCF86C1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5D
Deuteranopia (green-blind)
#FEE875
Tritanopia (blue-blind)
#D4EDD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf86c;
/* rgb */ color: rgb(204, 248, 108);
/* oklch */ color: oklch(92.1% 0.174 124.4);
Tailwind
colors: {
  custom: {
    50: '#defa9a',
    500: '#ccf86c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf86c;
$custom-light: #defa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf86c",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 78.857,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92051,
    "c": 0.17355,
    "h": 124.4
  },
  "luminance": 0.81055
}

Semantic roles & 50–950 ramp

primary
#CCF86C
secondary
#6736D2
accent
#00E648
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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