#FBF2B7#FBF2B7

#FBF2B7 is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.4% C 0.076 H 100.4°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#FBF2B7
RGBrgb(251, 242, 183)
HSLhsl(52, 89%, 85%)
HSVhsv(52, 27%, 98%)
CMYKcmyk(0%, 3.6%, 27.1%, 1.6%)
CIE-LABlab(94.92, -5.86, 29.63)
CIE-LCHlch(94.92, 30.21, 101.19°)
OKLaboklab(95.42% -0.0137 0.0747)
OKLCHoklch(95.42% 0.076 100.4)
XYZxyz(80.0834, 87.4340, 57.4483)
Luminance0.8743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF2B7 #B7C0FB
analogous
#FBD0B7 #FBF2B7 #E2FBB7
triadic
#FBF2B7 #B7FBF2 #F2B7FB
tetradic
#FBF2B7 #B7FBD0 #B7C0FB #FBB7E2
square
#FBF2B7 #B7FBD0 #B7C0FB #FBB7E2
split-complementary
#FBF2B7 #B7E2FB #D0B7FB
monochromatic
#F5DD43 #F8E87D #FBF2B7 #FDFAE2 #FDFAE2

Accessibility & contrast

On white

1.14
#FBF2B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#FBF2B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF2B7
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF2B7#FFFFFF#000000##000000
##FBF2B71.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEEB3
Deuteranopia (green-blind)
#FFF2B9
Tritanopia (blue-blind)
#FFEAE2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf2b7;
/* rgb */ color: rgb(251, 242, 183);
/* oklch */ color: oklch(95.4% 0.076 100.4);
Tailwind
colors: {
  custom: {
    50: '#fdf6cd',
    500: '#fbf2b7',
    950: '#000000',
  },
}
SCSS
$custom: #fbf2b7;
$custom-light: #fdf6cd;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf2b7",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 183
  },
  "hsl": {
    "h": 52.059,
    "s": 89.474,
    "l": 85.098
  },
  "oklch": {
    "l": 0.95418,
    "c": 0.07596,
    "h": 100.4
  },
  "luminance": 0.87432
}

Semantic roles & 50–950 ramp

primary
#FBF2B7
secondary
#7784E0
accent
#1EE600
background
#FFFFFE
surface
#FFFEFA
border
#D7D6D3
text
#181713
muted
#868583

Preview Lab

Preview with #FBF2B7

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

Preview Lab → · Contrast checker → · Palette generator →

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