#FFF9BF#FFF9BF

#FFF9BF is a very light, moderate yellow. Relative luminance 0.928; OKLCH L 97.3% C 0.074 H 102.7°. Best body text is #000000 at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#FFF9BF
RGBrgb(255, 249, 191)
HSLhsl(54, 100%, 87%)
HSVhsv(54, 25%, 100%)
CMYKcmyk(0%, 2.4%, 25.1%, 0%)
CIE-LABlab(97.14, -6.84, 28.64)
CIE-LCHlch(97.14, 29.44, 103.44°)
OKLaboklab(97.29% -0.0164 0.0724)
OKLCHoklch(97.29% 0.074 102.7)
XYZxyz(84.5198, 92.7744, 62.7349)
Luminance0.9277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF9BF #BFC5FF
analogous
#FFD9BF #FFF9BF #E5FFBF
triadic
#FFF9BF #BFFFF9 #F9BFFF
tetradic
#FFF9BF #BFFFD9 #BFC5FF #FFBFE5
square
#FFF9BF #BFFFD9 #BFC5FF #FFBFE5
split-complementary
#FFF9BF #BFE5FF #D9BFFF
monochromatic
#FFEE45 #FFF382 #FFF9BF #FFFCE0 #FFFCE0

Accessibility & contrast

On white

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

On black

19.55
#FFF9BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF9BF
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF9BF#FFFFFF#000000##000000
##FFF9BF1.001.0719.5519.55
#FFFFFF1.071.0021.0021.00
#00000019.5521.001.001.00
##00000019.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff9bf;
/* rgb */ color: rgb(255, 249, 191);
/* oklch */ color: oklch(97.3% 0.074 102.7);
Tailwind
colors: {
  custom: {
    50: '#fffbd2',
    500: '#fff9bf',
    950: '#000000',
  },
}
SCSS
$custom: #fff9bf;
$custom-light: #fffbd2;
$custom-dark: #000000;
JSON
{
  "hex": "#fff9bf",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 191
  },
  "hsl": {
    "h": 54.375,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.9729,
    "c": 0.07426,
    "h": 102.7
  },
  "luminance": 0.92773
}

Semantic roles & 50–950 ramp

primary
#FFF9BF
secondary
#7B85E8
accent
#16E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF9BF

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

Preview Lab → · Contrast checker → · Palette generator →

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