#CFE166#CFE166

#CFE166 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.2% C 0.149 H 116.5°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#CFE166
RGBrgb(207, 225, 102)
HSLhsl(69, 67%, 64%)
HSVhsv(69, 55%, 88%)
CMYKcmyk(8%, 0%, 54.7%, 11.8%)
CIE-LABlab(86.04, -23.05, 57.16)
CIE-LCHlch(86.04, 61.63, 111.96°)
OKLaboklab(87.17% -0.0666 0.1334)
OKLCHoklch(87.17% 0.149 116.5)
XYZxyz(55.0565, 68.0758, 22.8074)
Luminance0.6807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE166 #7866E1
analogous
#E1B566 #CFE166 #92E166
triadic
#CFE166 #66CFE1 #E166CF
tetradic
#CFE166 #66E1B5 #7866E1 #E16692
square
#CFE166 #66E1B5 #7866E1 #E16692
split-complementary
#CFE166 #6692E1 #B566E1
monochromatic
#97AB22 #BFD733 #CFE166 #DFEB99 #EFF5CC

Accessibility & contrast

On white

1.44
#CFE166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#CFE166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE166
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE166#FFFFFF#000000##000000
##CFE1661.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD75A
Deuteranopia (green-blind)
#EDD86D
Tritanopia (blue-blind)
#DAD6C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfe166;
/* rgb */ color: rgb(207, 225, 102);
/* oklch */ color: oklch(87.2% 0.149 116.5);
Tailwind
colors: {
  custom: {
    50: '#e0ea95',
    500: '#cfe166',
    950: '#000000',
  },
}
SCSS
$custom: #cfe166;
$custom-light: #e0ea95;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe166",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 68.78,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87171,
    "c": 0.14914,
    "h": 116.5
  },
  "luminance": 0.68075
}

Semantic roles & 50–950 ramp

primary
#CFE166
secondary
#4E3EAD
accent
#16CF31
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CFE166

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

Preview Lab → · Contrast checker → · Palette generator →

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