#FFF2BF#FFF2BF

#FFF2BF is a very light, moderate yellow. Relative luminance 0.885; OKLCH L 95.9% C 0.067 H 95.4°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FFF2BF
RGBrgb(255, 242, 191)
HSLhsl(48, 100%, 87%)
HSVhsv(48, 25%, 100%)
CMYKcmyk(0%, 5.1%, 25.1%, 0%)
CIE-LABlab(95.38, -3.34, 26.24)
CIE-LCHlch(95.38, 26.46, 97.26°)
OKLaboklab(95.91% -0.0063 0.0666)
OKLCHoklch(95.91% 0.067 95.4)
XYZxyz(82.3964, 88.5276, 62.0271)
Luminance0.8853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF2BF #BFCCFF
analogous
#FFD2BF #FFF2BF #ECFFBF
triadic
#FFF2BF #BFFFF2 #F2BFFF
tetradic
#FFF2BF #BFFFD2 #BFCCFF #FFBFEC
square
#FFF2BF #BFFFD2 #BFCCFF #FFBFEC
split-complementary
#FFF2BF #BFECFF #D2BFFF
monochromatic
#FFD945 #FFE682 #FFF2BF #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

18.71
#FFF2BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF2BF
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF2BF#FFFFFF#000000##000000
##FFF2BF1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEFBC
Deuteranopia (green-blind)
#FFF4C1
Tritanopia (blue-blind)
#FFEAE4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff2bf;
/* rgb */ color: rgb(255, 242, 191);
/* oklch */ color: oklch(95.9% 0.067 95.4);
Tailwind
colors: {
  custom: {
    50: '#fff6d2',
    500: '#fff2bf',
    950: '#000000',
  },
}
SCSS
$custom: #fff2bf;
$custom-light: #fff6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fff2bf",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 191
  },
  "hsl": {
    "h": 47.812,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.95905,
    "c": 0.06692,
    "h": 95.4
  },
  "luminance": 0.88526
}

Semantic roles & 50–950 ramp

primary
#FFF2BF
secondary
#7B91E8
accent
#2FE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF2BF

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

Preview Lab → · Contrast checker → · Palette generator →

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