#FFF4BC#FFF4BC

#FFF4BC is a very light, moderate yellow. Relative luminance 0.896; OKLCH L 96.2% C 0.073 H 98.3°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FFF4BC
RGBrgb(255, 244, 188)
HSLhsl(50, 100%, 87%)
HSVhsv(50, 26%, 100%)
CMYKcmyk(0%, 4.3%, 26.3%, 0%)
CIE-LABlab(95.83, -4.74, 28.38)
CIE-LCHlch(95.83, 28.77, 99.48°)
OKLaboklab(96.24% -0.0104 0.0718)
OKLCHoklch(96.24% 0.073 98.3)
XYZxyz(82.6681, 89.5939, 60.5057)
Luminance0.8959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF4BC #BCC7FF
analogous
#FFD3BC #FFF4BC #E9FFBC
triadic
#FFF4BC #BCFFF4 #F4BCFF
tetradic
#FFF4BC #BCFFD3 #BCC7FF #FFBCE9
square
#FFF4BC #BCFFD3 #BCC7FF #FFBCE9
split-complementary
#FFF4BC #BCE9FF #D3BCFF
monochromatic
#FFE042 #FFEA7F #FFF4BC #FFFAE0 #FFFAE0

Accessibility & contrast

On white

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

On black

18.92
#FFF4BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF4BC
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF4BC#FFFFFF#000000##000000
##FFF4BC1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1B8
Deuteranopia (green-blind)
#FFF5BE
Tritanopia (blue-blind)
#FFECE5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff4bc;
/* rgb */ color: rgb(255, 244, 188);
/* oklch */ color: oklch(96.2% 0.073 98.3);
Tailwind
colors: {
  custom: {
    50: '#fff7d0',
    500: '#fff4bc',
    950: '#000000',
  },
}
SCSS
$custom: #fff4bc;
$custom-light: #fff7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#fff4bc",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 188
  },
  "hsl": {
    "h": 50.149,
    "s": 100,
    "l": 86.863
  },
  "oklch": {
    "l": 0.96239,
    "c": 0.07251,
    "h": 98.3
  },
  "luminance": 0.89592
}

Semantic roles & 50–950 ramp

primary
#FFF4BC
secondary
#788AE7
accent
#26E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF4BC

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

Preview Lab → · Contrast checker → · Palette generator →

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