#CCE166#CCE166

#CCE166 is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.9% C 0.150 H 117.7°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#CCE166
RGBrgb(204, 225, 102)
HSLhsl(70, 67%, 64%)
HSVhsv(70, 55%, 88%)
CMYKcmyk(9.3%, 0%, 54.7%, 11.8%)
CIE-LABlab(85.83, -24.23, 56.86)
CIE-LCHlch(85.83, 61.81, 113.08°)
OKLaboklab(86.95% -0.0698 0.1328)
OKLCHoklch(86.95% 0.15 117.7)
XYZxyz(54.2261, 67.6476, 22.7684)
Luminance0.6765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE166 #7B66E1
analogous
#E1B966 #CCE166 #8FE166
triadic
#CCE166 #66CCE1 #E166CC
tetradic
#CCE166 #66E1B9 #7B66E1 #E1668F
square
#CCE166 #66E1B9 #7B66E1 #E1668F
split-complementary
#CCE166 #668FE1 #B966E1
monochromatic
#94AB22 #BBD733 #CCE166 #DDEB99 #EEF5CC

Accessibility & contrast

On white

1.45
#CCE166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#CCE166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE166
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE166#FFFFFF#000000##000000
##CCE1661.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65A
Deuteranopia (green-blind)
#ECD76D
Tritanopia (blue-blind)
#D7D6C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce166;
/* rgb */ color: rgb(204, 225, 102);
/* oklch */ color: oklch(86.9% 0.150 117.7);
Tailwind
colors: {
  custom: {
    50: '#deea95',
    500: '#cce166',
    950: '#000000',
  },
}
SCSS
$custom: #cce166;
$custom-light: #deea95;
$custom-dark: #000000;
JSON
{
  "hex": "#cce166",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 70.244,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86946,
    "c": 0.15004,
    "h": 117.7
  },
  "luminance": 0.67647
}

Semantic roles & 50–950 ramp

primary
#CCE166
secondary
#513EAD
accent
#16CF36
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCE166

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

Preview Lab → · Contrast checker → · Palette generator →

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