#FFF4BB#FFF4BB

#FFF4BB is a very light, moderate yellow. Relative luminance 0.895; OKLCH L 96.2% C 0.074 H 98.4°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#FFF4BB
RGBrgb(255, 244, 187)
HSLhsl(50, 100%, 87%)
HSVhsv(50, 27%, 100%)
CMYKcmyk(0%, 4.3%, 26.7%, 0%)
CIE-LABlab(95.81, -4.87, 28.86)
CIE-LCHlch(95.81, 29.27, 99.58°)
OKLaboklab(96.22% -0.0108 0.0729)
OKLCHoklch(96.22% 0.074 98.4)
XYZxyz(82.5607, 89.5509, 59.9400)
Luminance0.8955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF4BB #BBC6FF
analogous
#FFD2BB #FFF4BB #E8FFBB
triadic
#FFF4BB #BBFFF4 #F4BBFF
tetradic
#FFF4BB #BBFFD2 #BBC6FF #FFBBE8
square
#FFF4BB #BBFFD2 #BBC6FF #FFBBE8
split-complementary
#FFF4BB #BBE8FF #D2BBFF
monochromatic
#FFE041 #FFEA7E #FFF4BB #FFFAE0 #FFFAE0

Accessibility & contrast

On white

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

On black

18.91
#FFF4BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF4BB
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF4BB#FFFFFF#000000##000000
##FFF4BB1.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff4bb;
/* rgb */ color: rgb(255, 244, 187);
/* oklch */ color: oklch(96.2% 0.074 98.4);
Tailwind
colors: {
  custom: {
    50: '#fff7cf',
    500: '#fff4bb',
    950: '#000000',
  },
}
SCSS
$custom: #fff4bb;
$custom-light: #fff7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fff4bb",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 187
  },
  "hsl": {
    "h": 50.294,
    "s": 100,
    "l": 86.667
  },
  "oklch": {
    "l": 0.96219,
    "c": 0.07371,
    "h": 98.4
  },
  "luminance": 0.89549
}

Semantic roles & 50–950 ramp

primary
#FFF4BB
secondary
#7789E7
accent
#25E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF4BB

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

Preview Lab → · Contrast checker → · Palette generator →

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