#FFF0BB#FFF0BB

#FFF0BB is a very light, moderate yellow. Relative luminance 0.872; OKLCH L 95.4% C 0.070 H 94.1°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#FFF0BB
RGBrgb(255, 240, 187)
HSLhsl(47, 100%, 87%)
HSVhsv(47, 27%, 100%)
CMYKcmyk(0%, 5.9%, 26.7%, 0%)
CIE-LABlab(94.81, -2.87, 27.50)
CIE-LCHlch(94.81, 27.65, 95.95°)
OKLaboklab(95.43% -0.005 0.0696)
OKLCHoklch(95.43% 0.07 94.1)
XYZxyz(81.3702, 87.1699, 59.5431)
Luminance0.8717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF0BB #BBCAFF
analogous
#FFCEBB #FFF0BB #ECFFBB
triadic
#FFF0BB #BBFFF0 #F0BBFF
tetradic
#FFF0BB #BBFFCE #BBCAFF #FFBBEC
square
#FFF0BB #BBFFCE #BBCAFF #FFBBEC
split-complementary
#FFF0BB #BBECFF #CEBBFF
monochromatic
#FFD541 #FFE37E #FFF0BB #FFF8E0 #FFF8E0

Accessibility & contrast

On white

1.14
#FFF0BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#FFF0BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF0BB
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF0BB#FFFFFF#000000##000000
##FFF0BB1.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEDB8
Deuteranopia (green-blind)
#FFF2BD
Tritanopia (blue-blind)
#FFE8E2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff0bb;
/* rgb */ color: rgb(255, 240, 187);
/* oklch */ color: oklch(95.4% 0.070 94.1);
Tailwind
colors: {
  custom: {
    50: '#fff4cf',
    500: '#fff0bb',
    950: '#000000',
  },
}
SCSS
$custom: #fff0bb;
$custom-light: #fff4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fff0bb",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 187
  },
  "hsl": {
    "h": 46.765,
    "s": 100,
    "l": 86.667
  },
  "oklch": {
    "l": 0.9543,
    "c": 0.0698,
    "h": 94.1
  },
  "luminance": 0.87168
}

Semantic roles & 50–950 ramp

primary
#FFF0BB
secondary
#7790E7
accent
#33E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF0BB

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

Preview Lab → · Contrast checker → · Palette generator →

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