#FFF2BD#FFF2BD

#FFF2BD is a very light, moderate yellow. Relative luminance 0.884; OKLCH L 95.9% C 0.069 H 95.9°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#FFF2BD
RGBrgb(255, 242, 189)
HSLhsl(48, 100%, 87%)
HSVhsv(48, 26%, 100%)
CMYKcmyk(0%, 5.1%, 25.9%, 0%)
CIE-LABlab(95.35, -3.61, 27.21)
CIE-LCHlch(95.35, 27.45, 97.55°)
OKLaboklab(95.86% -0.0071 0.069)
OKLCHoklch(95.86% 0.069 95.9)
XYZxyz(82.1778, 88.4402, 60.8759)
Luminance0.8844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF2BD #BDCAFF
analogous
#FFD1BD #FFF2BD #EBFFBD
triadic
#FFF2BD #BDFFF2 #F2BDFF
tetradic
#FFF2BD #BDFFD1 #BDCAFF #FFBDEB
square
#FFF2BD #BDFFD1 #BDCAFF #FFBDEB
split-complementary
#FFF2BD #BDEBFF #D1BDFF
monochromatic
#FFDA43 #FFE680 #FFF2BD #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

18.69
#FFF2BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF2BD
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF2BD#FFFFFF#000000##000000
##FFF2BD1.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff2bd;
/* rgb */ color: rgb(255, 242, 189);
/* oklch */ color: oklch(95.9% 0.069 95.9);
Tailwind
colors: {
  custom: {
    50: '#fff6d1',
    500: '#fff2bd',
    950: '#000000',
  },
}
SCSS
$custom: #fff2bd;
$custom-light: #fff6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fff2bd",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 189
  },
  "hsl": {
    "h": 48.182,
    "s": 100,
    "l": 87.059
  },
  "oklch": {
    "l": 0.95864,
    "c": 0.06932,
    "h": 95.9
  },
  "luminance": 0.88438
}

Semantic roles & 50–950 ramp

primary
#FFF2BD
secondary
#798FE7
accent
#2DE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF2BD

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

Preview Lab → · Contrast checker → · Palette generator →

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