#CCF86F#CCF86F

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

Color values

HEX#CCF86F
RGBrgb(204, 248, 111)
HSLhsl(79, 91%, 70%)
HSVhsv(79, 55%, 97%)
CMYKcmyk(17.7%, 0%, 55.2%, 2.7%)
CIE-LABlab(92.18, -34.23, 60.16)
CIE-LCHlch(92.18, 69.22, 119.64°)
OKLaboklab(92.08% -0.097 0.1408)
OKLCHoklch(92.08% 0.171 124.5)
XYZxyz(61.3387, 81.1194, 27.4619)
Luminance0.8112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF86F #9B6FF8
analogous
#F8DF6F #CCF86F #87F86F
triadic
#CCF86F #6FCCF8 #F86FCC
tetradic
#CCF86F #6FF8DF #9B6FF8 #F86F87
square
#CCF86F #6FF8DF #9B6FF8 #F86F87
split-complementary
#CCF86F #6F87F8 #DF6FF8
monochromatic
#9DE20B #B7F535 #CCF86F #E1FBA9 #F5FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF86F#FFFFFF#000000##000000
##CCF86F1.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)
#FFEA61
Deuteranopia (green-blind)
#FEE878
Tritanopia (blue-blind)
#D4EDDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf86f;
/* rgb */ color: rgb(204, 248, 111);
/* oklch */ color: oklch(92.1% 0.171 124.5);
Tailwind
colors: {
  custom: {
    50: '#defa9c',
    500: '#ccf86f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf86f;
$custom-light: #defa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf86f",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 79.27,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92084,
    "c": 0.17099,
    "h": 124.5
  },
  "luminance": 0.8112
}

Semantic roles & 50–950 ramp

primary
#CCF86F
secondary
#6A38D3
accent
#00E64A
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF86F

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

Preview Lab → · Contrast checker → · Palette generator →

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