#CCF86B#CCF86B

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

Color values

HEX#CCF86B
RGBrgb(204, 248, 107)
HSLhsl(79, 91%, 70%)
HSVhsv(79, 57%, 97%)
CMYKcmyk(17.7%, 0%, 56.9%, 2.7%)
CIE-LABlab(92.15, -34.57, 61.86)
CIE-LCHlch(92.15, 70.86, 119.20°)
OKLaboklab(92.04% -0.0983 0.1441)
OKLCHoklch(92.04% 0.174 124.3)
XYZxyz(61.1233, 81.0333, 26.3279)
Luminance0.8103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF86B #976BF8
analogous
#F8DD6B #CCF86B #86F86B
triadic
#CCF86B #6BCCF8 #F86BCC
tetradic
#CCF86B #6BF8DD #976BF8 #F86B86
square
#CCF86B #6BF8DD #976BF8 #F86B86
split-complementary
#CCF86B #6B86F8 #DD6BF8
monochromatic
#9CDE0B #B8F531 #CCF86B #E0FBA5 #F4FEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF86B#FFFFFF#000000##000000
##CCF86B1.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)
#FFEA5C
Deuteranopia (green-blind)
#FFE874
Tritanopia (blue-blind)
#D4EDD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf86b;
/* rgb */ color: rgb(204, 248, 107);
/* oklch */ color: oklch(92.0% 0.174 124.3);
Tailwind
colors: {
  custom: {
    50: '#defa9a',
    500: '#ccf86b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf86b;
$custom-light: #defa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf86b",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 107
  },
  "hsl": {
    "h": 78.723,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92041,
    "c": 0.17439,
    "h": 124.3
  },
  "luminance": 0.81034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCF86B

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

Preview Lab → · Contrast checker → · Palette generator →

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