#FBF7E2#FBF7E2

#FBF7E2 is a very light, muted yellow. Relative luminance 0.925; OKLCH L 97.4% C 0.028 H 98.1°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#FBF7E2
RGBrgb(251, 247, 226)
HSLhsl(50, 76%, 94%)
HSVhsv(50, 10%, 98%)
CMYKcmyk(0%, 1.6%, 10%, 1.6%)
CIE-LABlab(97.03, -2.17, 10.57)
CIE-LCHlch(97.03, 10.79, 101.60°)
OKLaboklab(97.37% -0.0039 0.0276)
OKLCHoklch(97.37% 0.028 98.1)
XYZxyz(86.7704, 92.5224, 85.2242)
Luminance0.9252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7E2 #E2E6FB
analogous
#FBEAE2 #FBF7E2 #F2FBE2
triadic
#FBF7E2 #E2FBF7 #F7E2FB
tetradic
#FBF7E2 #E2FBEA #E2E6FB #FBE2F2
square
#FBF7E2 #E2FBEA #E2E6FB #FBE2F2
split-complementary
#FBF7E2 #E2F2FB #EAE2FB
monochromatic
#ECD976 #F4E8AC #FBF7E2 #FBF8E4 #FBF8E4

Accessibility & contrast

On white

1.08
#FBF7E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.50
#FBF7E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7E2
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7E2#FFFFFF#000000##000000
##FBF7E21.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF5E1
Deuteranopia (green-blind)
#FDF7E3
Tritanopia (blue-blind)
#FFF4F1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbf7e2;
/* rgb */ color: rgb(251, 247, 226);
/* oklch */ color: oklch(97.4% 0.028 98.1);
Tailwind
colors: {
  custom: {
    50: '#fcf9eb',
    500: '#fbf7e2',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7e2;
$custom-light: #fcf9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7e2",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 226
  },
  "hsl": {
    "h": 50.4,
    "s": 75.758,
    "l": 93.529
  },
  "oklch": {
    "l": 0.97366,
    "c": 0.02786,
    "h": 98.1
  },
  "luminance": 0.92522
}

Semantic roles & 50–950 ramp

primary
#FBF7E2
secondary
#A0AAE2
accent
#2ED80E
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FBF7E2

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

Preview Lab → · Contrast checker → · Palette generator →

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