#FBF7BD#FBF7BD

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

Color values

HEX#FBF7BD
RGBrgb(251, 247, 189)
HSLhsl(56, 89%, 86%)
HSVhsv(56, 25%, 98%)
CMYKcmyk(0%, 1.6%, 24.7%, 1.6%)
CIE-LABlab(96.29, -7.57, 28.45)
CIE-LCHlch(96.29, 29.44, 104.91°)
OKLaboklab(96.53% -0.0185 0.0719)
OKLCHoklch(96.53% 0.074 104.4)
XYZxyz(82.2298, 90.7062, 61.3105)
Luminance0.9071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7BD #BDC1FB
analogous
#FBD8BD #FBF7BD #E0FBBD
triadic
#FBF7BD #BDFBF7 #F7BDFB
tetradic
#FBF7BD #BDFBD8 #BDC1FB #FBBDE0
square
#FBF7BD #BDFBD8 #BDC1FB #FBBDE0
split-complementary
#FBF7BD #BDE0FB #D8BDFB
monochromatic
#F4E94A #F8F083 #FBF7BD #FDFCE2 #FDFCE2

Accessibility & contrast

On white

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

On black

19.14
#FBF7BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7BD
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7BD#FFFFFF#000000##000000
##FBF7BD1.001.1019.1419.14
#FFFFFF1.101.0021.0021.00
#00000019.1421.001.001.00
##00000019.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf7bd;
/* rgb */ color: rgb(251, 247, 189);
/* oklch */ color: oklch(96.5% 0.074 104.4);
Tailwind
colors: {
  custom: {
    50: '#fdf9d1',
    500: '#fbf7bd',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7bd;
$custom-light: #fdf9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7bd",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 189
  },
  "hsl": {
    "h": 56.129,
    "s": 88.571,
    "l": 86.275
  },
  "oklch": {
    "l": 0.96533,
    "c": 0.07428,
    "h": 104.4
  },
  "luminance": 0.90705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF7BD

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

Preview Lab → · Contrast checker → · Palette generator →

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