#FFFFFB#FFFFFB

#FFFFFB is a very light, near-neutral yellow. Relative luminance 0.997; OKLCH L 99.9% C 0.005 H 106.5°. Best body text is #000000 at 20.95:1 contrast (WCAG AA passes).

Color values

HEX#FFFFFB
RGBrgb(255, 255, 251)
HSLhsl(60, 100%, 99%)
HSVhsv(60, 2%, 100%)
CMYKcmyk(0%, 0%, 1.6%, 0%)
CIE-LABlab(99.90, -0.69, 1.91)
CIE-LCHlch(99.90, 2.03, 110.02°)
OKLaboklab(99.89% -0.0015 0.005)
OKLCHoklch(99.89% 0.005 106.5)
XYZxyz(94.4098, 99.7451, 105.5271)
Luminance0.9974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFFB #FBFBFF
analogous
#FFFDFB #FFFFFB #FDFFFB
triadic
#FFFFFB #FBFFFF #FFFBFF
tetradic
#FFFFFB #FBFFFD #FBFBFF #FFFBFD
square
#FFFFFB #FBFFFD #FBFBFF #FFFBFD
split-complementary
#FFFFFB #FBFDFF #FDFBFF
monochromatic
#FFFF81 #FFFFBE #FFFFE0 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.00
#FFFFFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.95
#FFFFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFFB
20.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFFB#FFFFFF#000000##000000
##FFFFFB1.001.0020.9520.95
#FFFFFF1.001.0021.0021.00
#00000020.9521.001.001.00
##00000020.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFFFB
Deuteranopia (green-blind)
#FFFFFB
Tritanopia (blue-blind)
#FFFEFE
Achromatopsia (no color)
#FFFFFF

Design tokens & code

CSS
--color: #fffffb;
/* rgb */ color: rgb(255, 255, 251);
/* oklch */ color: oklch(99.9% 0.005 106.5);
Tailwind
colors: {
  custom: {
    50: '#fffffc',
    500: '#fffffb',
    950: '#000000',
  },
}
SCSS
$custom: #fffffb;
$custom-light: #fffffc;
$custom-dark: #000000;
JSON
{
  "hex": "#fffffb",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 251
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 99.216
  },
  "oklch": {
    "l": 0.9989,
    "c": 0.00526,
    "h": 106.5
  },
  "luminance": 0.99745
}

Semantic roles & 50–950 ramp

primary
#FFFFFB
secondary
#AEAEF1
accent
#00E600
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#181817
muted
#868685

Preview Lab

Preview with #FFFFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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