#FFF2CB#FFF2CB

#FFF2CB is a very light, muted yellow. Relative luminance 0.891; OKLCH L 96.2% C 0.052 H 91.8°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FFF2CB
RGBrgb(255, 242, 203)
HSLhsl(45, 100%, 90%)
HSVhsv(45, 20%, 100%)
CMYKcmyk(0%, 5.1%, 20.4%, 0%)
CIE-LABlab(95.61, -1.70, 20.42)
CIE-LCHlch(95.61, 20.50, 94.76°)
OKLaboklab(96.16% -0.0016 0.0524)
OKLCHoklch(96.16% 0.052 91.8)
XYZxyz(83.7714, 89.0776, 69.2691)
Luminance0.8908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF2CB #CBD8FF
analogous
#FFD8CB #FFF2CB #F2FFCB
triadic
#FFF2CB #CBFFF2 #F2CBFF
tetradic
#FFF2CB #CBFFD8 #CBD8FF #FFCBF2
square
#FFF2CB #CBFFD8 #CBD8FF #FFCBF2
split-complementary
#FFF2CB #CBF2FF #D8CBFF
monochromatic
#FFD351 #FFE38E #FFF2CB #FFF7E0 #FFF7E0

Accessibility & contrast

On white

1.12
#FFF2CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.82
#FFF2CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF2CB
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF2CB#FFFFFF#000000##000000
##FFF2CB1.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF0C9
Deuteranopia (green-blind)
#FEF4CC
Tritanopia (blue-blind)
#FFECE7
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff2cb;
/* rgb */ color: rgb(255, 242, 203);
/* oklch */ color: oklch(96.2% 0.052 91.8);
Tailwind
colors: {
  custom: {
    50: '#fff6db',
    500: '#fff2cb',
    950: '#000000',
  },
}
SCSS
$custom: #fff2cb;
$custom-light: #fff6db;
$custom-dark: #000000;
JSON
{
  "hex": "#fff2cb",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 203
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 89.804
  },
  "oklch": {
    "l": 0.96162,
    "c": 0.05245,
    "h": 91.8
  },
  "luminance": 0.89076
}

Semantic roles & 50–950 ramp

primary
#FFF2CB
secondary
#859EE9
accent
#39E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181715
muted
#868584

Preview Lab

Preview with #FFF2CB

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

Preview Lab → · Contrast checker → · Palette generator →

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