#FFF8BD#FFF8BD

#FFF8BD is a very light, moderate yellow. Relative luminance 0.921; OKLCH L 97.1% C 0.076 H 102.0°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FFF8BD
RGBrgb(255, 248, 189)
HSLhsl(54, 100%, 87%)
HSVhsv(54, 26%, 100%)
CMYKcmyk(0%, 2.7%, 25.9%, 0%)
CIE-LABlab(96.85, -6.61, 29.26)
CIE-LCHlch(96.85, 30.00, 102.72°)
OKLaboklab(97.05% -0.0157 0.0739)
OKLCHoklch(97.05% 0.076 102)
XYZxyz(83.9929, 92.0705, 61.4810)
Luminance0.9207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF8BD #BDC4FF
analogous
#FFD7BD #FFF8BD #E5FFBD
triadic
#FFF8BD #BDFFF8 #F8BDFF
tetradic
#FFF8BD #BDFFD7 #BDC4FF #FFBDE5
square
#FFF8BD #BDFFD7 #BDC4FF #FFBDE5
split-complementary
#FFF8BD #BDE5FF #D7BDFF
monochromatic
#FFEB43 #FFF280 #FFF8BD #FFFCE0 #FFFCE0

Accessibility & contrast

On white

1.08
#FFF8BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#FFF8BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF8BD
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF8BD#FFFFFF#000000##000000
##FFF8BD1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4B9
Deuteranopia (green-blind)
#FFF8BF
Tritanopia (blue-blind)
#FFF0E8
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fff8bd;
/* rgb */ color: rgb(255, 248, 189);
/* oklch */ color: oklch(97.1% 0.076 102.0);
Tailwind
colors: {
  custom: {
    50: '#fffad1',
    500: '#fff8bd',
    950: '#000000',
  },
}
SCSS
$custom: #fff8bd;
$custom-light: #fffad1;
$custom-dark: #000000;
JSON
{
  "hex": "#fff8bd",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 189
  },
  "hsl": {
    "h": 53.636,
    "s": 100,
    "l": 87.059
  },
  "oklch": {
    "l": 0.97052,
    "c": 0.07556,
    "h": 102
  },
  "luminance": 0.92069
}

Semantic roles & 50–950 ramp

primary
#FFF8BD
secondary
#7985E7
accent
#18E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF8BD

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

Preview Lab → · Contrast checker → · Palette generator →

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