#FFF6CC#FFF6CC

#FFF6CC is a very light, muted yellow. Relative luminance 0.915; OKLCH L 97.0% C 0.055 H 97.3°. Best body text is #000000 at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#FFF6CC
RGBrgb(255, 246, 204)
HSLhsl(49, 100%, 90%)
HSVhsv(49, 20%, 100%)
CMYKcmyk(0%, 3.5%, 20%, 0%)
CIE-LABlab(96.63, -3.57, 21.33)
CIE-LCHlch(96.63, 21.62, 99.50°)
OKLaboklab(96.97% -0.007 0.0547)
OKLCHoklch(96.97% 0.055 97.3)
XYZxyz(85.0945, 91.5325, 70.2999)
Luminance0.9153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF6CC #CCD5FF
analogous
#FFDDCC #FFF6CC #EEFFCC
triadic
#FFF6CC #CCFFF6 #F6CCFF
tetradic
#FFF6CC #CCFFDD #CCD5FF #FFCCEE
square
#FFF6CC #CCFFDD #CCD5FF #FFCCEE
split-complementary
#FFF6CC #CCEEFF #DDCCFF
monochromatic
#FFE052 #FFEB8F #FFF6CC #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.09
#FFF6CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.31
#FFF6CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF6CC
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF6CC#FFFFFF#000000##000000
##FFF6CC1.001.0919.3119.31
#FFFFFF1.091.0021.0021.00
#00000019.3121.001.001.00
##00000019.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3C9
Deuteranopia (green-blind)
#FFF7CD
Tritanopia (blue-blind)
#FFF0EA
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fff6cc;
/* rgb */ color: rgb(255, 246, 204);
/* oklch */ color: oklch(97.0% 0.055 97.3);
Tailwind
colors: {
  custom: {
    50: '#fff9db',
    500: '#fff6cc',
    950: '#000000',
  },
}
SCSS
$custom: #fff6cc;
$custom-light: #fff9db;
$custom-dark: #000000;
JSON
{
  "hex": "#fff6cc",
  "rgb": {
    "r": 255,
    "g": 246,
    "b": 204
  },
  "hsl": {
    "h": 49.412,
    "s": 100,
    "l": 90
  },
  "oklch": {
    "l": 0.9697,
    "c": 0.05511,
    "h": 97.3
  },
  "luminance": 0.91531
}

Semantic roles & 50–950 ramp

primary
#FFF6CC
secondary
#8697EA
accent
#28E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181715
muted
#868584

Preview Lab

Preview with #FFF6CC

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

Preview Lab → · Contrast checker → · Palette generator →

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