#F9FFC2#F9FFC2

#F9FFC2 is a very light, moderate yellow. Relative luminance 0.956; OKLCH L 98.1% C 0.078 H 112.4°. Best body text is #000000 at 20.11:1 contrast (WCAG AA passes).

Color values

HEX#F9FFC2
RGBrgb(249, 255, 194)
HSLhsl(66, 100%, 88%)
HSVhsv(66, 24%, 100%)
CMYKcmyk(2.4%, 0%, 23.9%, 0%)
CIE-LABlab(98.26, -11.58, 28.57)
CIE-LCHlch(98.26, 30.83, 112.06°)
OKLaboklab(98.08% -0.0298 0.0723)
OKLCHoklch(98.08% 0.078 112.4)
XYZxyz(84.5641, 95.5556, 65.0177)
Luminance0.9556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FFC2 #C8C2FF
analogous
#FFE6C2 #F9FFC2 #DAFFC2
triadic
#F9FFC2 #C2F9FF #FFC2F9
tetradic
#F9FFC2 #C2FFE6 #C8C2FF #FFC2DA
square
#F9FFC2 #C2FFE6 #C8C2FF #FFC2DA
split-complementary
#F9FFC2 #C2DAFF #E6C2FF
monochromatic
#EDFF48 #F3FF85 #F9FFC2 #FCFFE0 #FCFFE0

Accessibility & contrast

On white

1.04
#F9FFC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.11
#F9FFC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FFC2
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FFC2#FFFFFF#000000##000000
##F9FFC21.001.0420.1120.11
#FFFFFF1.041.0021.0021.00
#00000020.1121.001.001.00
##00000020.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9BE
Deuteranopia (green-blind)
#FFFBC4
Tritanopia (blue-blind)
#FFF8EF
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #f9ffc2;
/* rgb */ color: rgb(249, 255, 194);
/* oklch */ color: oklch(98.1% 0.078 112.4);
Tailwind
colors: {
  custom: {
    50: '#fbffd4',
    500: '#f9ffc2',
    950: '#000000',
  },
}
SCSS
$custom: #f9ffc2;
$custom-light: #fbffd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ffc2",
  "rgb": {
    "r": 249,
    "g": 255,
    "b": 194
  },
  "hsl": {
    "h": 65.902,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.98084,
    "c": 0.07823,
    "h": 112.4
  },
  "luminance": 0.95555
}

Semantic roles & 50–950 ramp

primary
#F9FFC2
secondary
#887DE8
accent
#00E617
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171814
muted
#858683

Preview Lab

Preview with #F9FFC2

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

Preview Lab → · Contrast checker → · Palette generator →

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