#FFF9BC#FFF9BC

#FFF9BC is a very light, moderate yellow. Relative luminance 0.926; OKLCH L 97.2% C 0.078 H 103.0°. Best body text is #000000 at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#FFF9BC
RGBrgb(255, 249, 188)
HSLhsl(55, 100%, 87%)
HSVhsv(55, 26%, 100%)
CMYKcmyk(0%, 2.4%, 26.3%, 0%)
CIE-LABlab(97.08, -7.23, 30.08)
CIE-LCHlch(97.08, 30.94, 103.52°)
OKLaboklab(97.23% -0.0175 0.0759)
OKLCHoklch(97.23% 0.078 103)
XYZxyz(84.1930, 92.6437, 61.0140)
Luminance0.9264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF9BC #BCC2FF
analogous
#FFD8BC #FFF9BC #E4FFBC
triadic
#FFF9BC #BCFFF9 #F9BCFF
tetradic
#FFF9BC #BCFFD8 #BCC2FF #FFBCE4
square
#FFF9BC #BCFFD8 #BCC2FF #FFBCE4
split-complementary
#FFF9BC #BCE4FF #D8BCFF
monochromatic
#FFEE42 #FFF47F #FFF9BC #FFFCE0 #FFFCE0

Accessibility & contrast

On white

1.08
#FFF9BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.53
#FFF9BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF9BC
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF9BC#FFFFFF#000000##000000
##FFF9BC1.001.0819.5319.53
#FFFFFF1.081.0021.0021.00
#00000019.5321.001.001.00
##00000019.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5B8
Deuteranopia (green-blind)
#FFF8BE
Tritanopia (blue-blind)
#FFF1E9
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fff9bc;
/* rgb */ color: rgb(255, 249, 188);
/* oklch */ color: oklch(97.2% 0.078 103.0);
Tailwind
colors: {
  custom: {
    50: '#fffbd0',
    500: '#fff9bc',
    950: '#000000',
  },
}
SCSS
$custom: #fff9bc;
$custom-light: #fffbd0;
$custom-dark: #000000;
JSON
{
  "hex": "#fff9bc",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 188
  },
  "hsl": {
    "h": 54.627,
    "s": 100,
    "l": 86.863
  },
  "oklch": {
    "l": 0.97231,
    "c": 0.07787,
    "h": 103
  },
  "luminance": 0.92642
}

Semantic roles & 50–950 ramp

primary
#FFF9BC
secondary
#7882E7
accent
#15E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF9BC

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

Preview Lab → · Contrast checker → · Palette generator →

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