#CCF166#CCF166

#CCF166 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.4% C 0.170 H 122.4°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#CCF166
RGBrgb(204, 241, 102)
HSLhsl(76, 83%, 67%)
HSVhsv(76, 58%, 95%)
CMYKcmyk(15.4%, 0%, 57.7%, 5.5%)
CIE-LABlab(90.19, -31.77, 61.80)
CIE-LCHlch(90.19, 69.49, 117.20°)
OKLaboklab(90.45% -0.0909 0.1434)
OKLCHoklch(90.45% 0.17 122.4)
XYZxyz(58.7559, 76.7071, 24.2784)
Luminance0.7671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF166 #8B66F1
analogous
#F1D066 #CCF166 #87F166
triadic
#CCF166 #66CCF1 #F166CC
tetradic
#CCF166 #66F1D0 #8B66F1 #F16687
square
#CCF166 #66F1D0 #8B66F1 #F16687
split-complementary
#CCF166 #6687F1 #D066F1
monochromatic
#99CA12 #B9EC2E #CCF166 #DFF69E #F1FBD6

Accessibility & contrast

On white

1.29
#CCF166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#CCF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF166
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF166#FFFFFF#000000##000000
##CCF1661.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#F9E36F
Tritanopia (blue-blind)
#D5E6D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf166;
/* rgb */ color: rgb(204, 241, 102);
/* oklch */ color: oklch(90.4% 0.170 122.4);
Tailwind
colors: {
  custom: {
    50: '#def596',
    500: '#ccf166',
    950: '#000000',
  },
}
SCSS
$custom: #ccf166;
$custom-light: #def596;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf166",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 75.971,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90447,
    "c": 0.1698,
    "h": 122.4
  },
  "luminance": 0.76707
}

Semantic roles & 50–950 ramp

primary
#CCF166
secondary
#5B34C7
accent
#06E040
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF166

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

Preview Lab → · Contrast checker → · Palette generator →

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