#FFF0BD#FFF0BD

#FFF0BD is a very light, moderate yellow. Relative luminance 0.873; OKLCH L 95.5% C 0.067 H 93.6°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#FFF0BD
RGBrgb(255, 240, 189)
HSLhsl(46, 100%, 87%)
HSVhsv(46, 26%, 100%)
CMYKcmyk(0%, 5.9%, 25.9%, 0%)
CIE-LABlab(94.85, -2.60, 26.53)
CIE-LCHlch(94.85, 26.66, 95.61°)
OKLaboklab(95.47% -0.0043 0.0673)
OKLCHoklch(95.47% 0.067 93.6)
XYZxyz(81.5858, 87.2562, 60.6786)
Luminance0.8725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF0BD #BDCCFF
analogous
#FFCFBD #FFF0BD #EDFFBD
triadic
#FFF0BD #BDFFF0 #F0BDFF
tetradic
#FFF0BD #BDFFCF #BDCCFF #FFBDED
square
#FFF0BD #BDFFCF #BDCCFF #FFBDED
split-complementary
#FFF0BD #BDEDFF #CFBDFF
monochromatic
#FFD443 #FFE280 #FFF0BD #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

18.45
#FFF0BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF0BD
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF0BD#FFFFFF#000000##000000
##FFF0BD1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff0bd;
/* rgb */ color: rgb(255, 240, 189);
/* oklch */ color: oklch(95.5% 0.067 93.6);
Tailwind
colors: {
  custom: {
    50: '#fff4d1',
    500: '#fff0bd',
    950: '#000000',
  },
}
SCSS
$custom: #fff0bd;
$custom-light: #fff4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fff0bd",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 189
  },
  "hsl": {
    "h": 46.364,
    "s": 100,
    "l": 87.059
  },
  "oklch": {
    "l": 0.9547,
    "c": 0.06742,
    "h": 93.6
  },
  "luminance": 0.87254
}

Semantic roles & 50–950 ramp

primary
#FFF0BD
secondary
#7992E7
accent
#34E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF0BD

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

Preview Lab → · Contrast checker → · Palette generator →

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