#FFF2BB#FFF2BB

#FFF2BB is a very light, moderate yellow. Relative luminance 0.884; OKLCH L 95.8% C 0.072 H 96.3°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#FFF2BB
RGBrgb(255, 242, 187)
HSLhsl(49, 100%, 87%)
HSVhsv(49, 27%, 100%)
CMYKcmyk(0%, 5.1%, 26.7%, 0%)
CIE-LABlab(95.31, -3.87, 28.18)
CIE-LCHlch(95.31, 28.45, 97.82°)
OKLaboklab(95.82% -0.0079 0.0713)
OKLCHoklch(95.82% 0.072 96.3)
XYZxyz(81.9622, 88.3539, 59.7405)
Luminance0.8835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF2BB #BBC8FF
analogous
#FFD0BB #FFF2BB #EAFFBB
triadic
#FFF2BB #BBFFF2 #F2BBFF
tetradic
#FFF2BB #BBFFD0 #BBC8FF #FFBBEA
square
#FFF2BB #BBFFD0 #BBC8FF #FFBBEA
split-complementary
#FFF2BB #BBEAFF #D0BBFF
monochromatic
#FFDB41 #FFE67E #FFF2BB #FFF9E0 #FFF9E0

Accessibility & contrast

On white

1.12
#FFF2BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#FFF2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF2BB
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF2BB#FFFFFF#000000##000000
##FFF2BB1.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEFB7
Deuteranopia (green-blind)
#FFF4BD
Tritanopia (blue-blind)
#FFEAE3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff2bb;
/* rgb */ color: rgb(255, 242, 187);
/* oklch */ color: oklch(95.8% 0.072 96.3);
Tailwind
colors: {
  custom: {
    50: '#fff6cf',
    500: '#fff2bb',
    950: '#000000',
  },
}
SCSS
$custom: #fff2bb;
$custom-light: #fff6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fff2bb",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 187
  },
  "hsl": {
    "h": 48.529,
    "s": 100,
    "l": 86.667
  },
  "oklch": {
    "l": 0.95824,
    "c": 0.07171,
    "h": 96.3
  },
  "luminance": 0.88352
}

Semantic roles & 50–950 ramp

primary
#FFF2BB
secondary
#778DE7
accent
#2CE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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