#FFF4BF#FFF4BF

#FFF4BF is a very light, moderate yellow. Relative luminance 0.897; OKLCH L 96.3% C 0.069 H 97.7°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#FFF4BF
RGBrgb(255, 244, 191)
HSLhsl(50, 100%, 87%)
HSVhsv(50, 25%, 100%)
CMYKcmyk(0%, 4.3%, 25.1%, 0%)
CIE-LABlab(95.88, -4.35, 26.93)
CIE-LCHlch(95.88, 27.28, 99.17°)
OKLaboklab(96.3% -0.0092 0.0683)
OKLCHoklch(96.3% 0.069 97.7)
XYZxyz(82.9949, 89.7246, 62.2267)
Luminance0.8972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF4BF #BFCAFF
analogous
#FFD4BF #FFF4BF #EAFFBF
triadic
#FFF4BF #BFFFF4 #F4BFFF
tetradic
#FFF4BF #BFFFD4 #BFCAFF #FFBFEA
square
#FFF4BF #BFFFD4 #BFCAFF #FFBFEA
split-complementary
#FFF4BF #BFEAFF #D4BFFF
monochromatic
#FFDF45 #FFE982 #FFF4BF #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.11
#FFF4BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#FFF4BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF4BF
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF4BF#FFFFFF#000000##000000
##FFF4BF1.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1BC
Deuteranopia (green-blind)
#FFF5C1
Tritanopia (blue-blind)
#FFECE6
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff4bf;
/* rgb */ color: rgb(255, 244, 191);
/* oklch */ color: oklch(96.3% 0.069 97.7);
Tailwind
colors: {
  custom: {
    50: '#fff7d2',
    500: '#fff4bf',
    950: '#000000',
  },
}
SCSS
$custom: #fff4bf;
$custom-light: #fff7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fff4bf",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 191
  },
  "hsl": {
    "h": 49.688,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.963,
    "c": 0.0689,
    "h": 97.7
  },
  "luminance": 0.89723
}

Semantic roles & 50–950 ramp

primary
#FFF4BF
secondary
#7B8DE8
accent
#27E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF4BF

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

Preview Lab → · Contrast checker → · Palette generator →

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