#FBF7BC#FBF7BC

#FBF7BC is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.5% C 0.075 H 104.5°. Best body text is #000000 at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#FBF7BC
RGBrgb(251, 247, 188)
HSLhsl(56, 89%, 86%)
HSVhsv(56, 25%, 98%)
CMYKcmyk(0%, 1.6%, 25.1%, 1.6%)
CIE-LABlab(96.27, -7.70, 28.93)
CIE-LCHlch(96.27, 29.94, 104.91°)
OKLaboklab(96.51% -0.0189 0.0731)
OKLCHoklch(96.51% 0.075 104.5)
XYZxyz(82.1216, 90.6629, 60.7408)
Luminance0.9066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7BC #BCC0FB
analogous
#FBD7BC #FBF7BC #DFFBBC
triadic
#FBF7BC #BCFBF7 #F7BCFB
tetradic
#FBF7BC #BCFBD7 #BCC0FB #FBBCDF
square
#FBF7BC #BCFBD7 #BCC0FB #FBBCDF
split-complementary
#FBF7BC #BCDFFB #D7BCFB
monochromatic
#F4E948 #F8F082 #FBF7BC #FDFCE2 #FDFCE2

Accessibility & contrast

On white

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

On black

19.13
#FBF7BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7BC
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7BC#FFFFFF#000000##000000
##FBF7BC1.001.1019.1319.13
#FFFFFF1.101.0021.0021.00
#00000019.1321.001.001.00
##00000019.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2B8
Deuteranopia (green-blind)
#FFF6BE
Tritanopia (blue-blind)
#FFEFE7
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf7bc;
/* rgb */ color: rgb(251, 247, 188);
/* oklch */ color: oklch(96.5% 0.075 104.5);
Tailwind
colors: {
  custom: {
    50: '#fdf9d0',
    500: '#fbf7bc',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7bc;
$custom-light: #fdf9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7bc",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 188
  },
  "hsl": {
    "h": 56.19,
    "s": 88.732,
    "l": 86.078
  },
  "oklch": {
    "l": 0.96513,
    "c": 0.07549,
    "h": 104.5
  },
  "luminance": 0.90662
}

Semantic roles & 50–950 ramp

primary
#FBF7BC
secondary
#7B81E0
accent
#0FE500
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #FBF7BC

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

Preview Lab → · Contrast checker → · Palette generator →

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