#FFF9CC#FFF9CC

#FFF9CC is a very light, muted yellow. Relative luminance 0.934; OKLCH L 97.6% C 0.058 H 101.1°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#FFF9CC
RGBrgb(255, 249, 204)
HSLhsl(53, 100%, 90%)
HSVhsv(53, 20%, 100%)
CMYKcmyk(0%, 2.4%, 20%, 0%)
CIE-LABlab(97.38, -5.07, 22.37)
CIE-LCHlch(97.38, 22.94, 102.77°)
OKLaboklab(97.56% -0.0112 0.0572)
OKLCHoklch(97.56% 0.058 101.1)
XYZxyz(86.0144, 93.3722, 70.6065)
Luminance0.9337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF9CC #CCD2FF
analogous
#FFDFCC #FFF9CC #ECFFCC
triadic
#FFF9CC #CCFFF9 #F9CCFF
tetradic
#FFF9CC #CCFFDF #CCD2FF #FFCCEC
square
#FFF9CC #CCFFDF #CCD2FF #FFCCEC
split-complementary
#FFF9CC #CCECFF #DFCCFF
monochromatic
#FFEB52 #FFF28F #FFF9CC #FFFBE0 #FFFBE0

Accessibility & contrast

On white

1.07
#FFF9CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.67
#FFF9CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF9CC
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF9CC#FFFFFF#000000##000000
##FFF9CC1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6C9
Deuteranopia (green-blind)
#FFF9CE
Tritanopia (blue-blind)
#FFF3ED
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fff9cc;
/* rgb */ color: rgb(255, 249, 204);
/* oklch */ color: oklch(97.6% 0.058 101.1);
Tailwind
colors: {
  custom: {
    50: '#fffbdb',
    500: '#fff9cc',
    950: '#000000',
  },
}
SCSS
$custom: #fff9cc;
$custom-light: #fffbdb;
$custom-dark: #000000;
JSON
{
  "hex": "#fff9cc",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 204
  },
  "hsl": {
    "h": 52.941,
    "s": 100,
    "l": 90
  },
  "oklch": {
    "l": 0.97562,
    "c": 0.05833,
    "h": 101.1
  },
  "luminance": 0.93371
}

Semantic roles & 50–950 ramp

primary
#FFF9CC
secondary
#8691EA
accent
#1BE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181715
muted
#868584

Preview Lab

Preview with #FFF9CC

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

Preview Lab → · Contrast checker → · Palette generator →

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