#FFF5CB#FFF5CB

#FFF5CB is a very light, muted yellow. Relative luminance 0.909; OKLCH L 96.8% C 0.055 H 96.1°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#FFF5CB
RGBrgb(255, 245, 203)
HSLhsl(48, 100%, 90%)
HSVhsv(48, 20%, 100%)
CMYKcmyk(0%, 3.9%, 20.4%, 0%)
CIE-LABlab(96.36, -3.21, 21.46)
CIE-LCHlch(96.36, 21.70, 98.50°)
OKLaboklab(96.75% -0.0059 0.055)
OKLCHoklch(96.75% 0.055 96.1)
XYZxyz(84.6716, 90.8780, 69.5691)
Luminance0.9088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF5CB #CBD5FF
analogous
#FFDBCB #FFF5CB #EFFFCB
triadic
#FFF5CB #CBFFF5 #F5CBFF
tetradic
#FFF5CB #CBFFDB #CBD5FF #FFCBEF
square
#FFF5CB #CBFFDB #CBD5FF #FFCBEF
split-complementary
#FFF5CB #CBEFFF #DBCBFF
monochromatic
#FFDD51 #FFE98E #FFF5CB #FFF9E0 #FFF9E0

Accessibility & contrast

On white

1.10
#FFF5CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.18
#FFF5CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF5CB
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF5CB#FFFFFF#000000##000000
##FFF5CB1.001.1019.1819.18
#FFFFFF1.101.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF2C8
Deuteranopia (green-blind)
#FFF6CC
Tritanopia (blue-blind)
#FFEFE9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fff5cb;
/* rgb */ color: rgb(255, 245, 203);
/* oklch */ color: oklch(96.8% 0.055 96.1);
Tailwind
colors: {
  custom: {
    50: '#fff8db',
    500: '#fff5cb',
    950: '#000000',
  },
}
SCSS
$custom: #fff5cb;
$custom-light: #fff8db;
$custom-dark: #000000;
JSON
{
  "hex": "#fff5cb",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 203
  },
  "hsl": {
    "h": 48.462,
    "s": 100,
    "l": 89.804
  },
  "oklch": {
    "l": 0.96751,
    "c": 0.05532,
    "h": 96.1
  },
  "luminance": 0.90877
}

Semantic roles & 50–950 ramp

primary
#FFF5CB
secondary
#8598E9
accent
#2CE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181715
muted
#868584

Preview Lab

Preview with #FFF5CB

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

Preview Lab → · Contrast checker → · Palette generator →

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