#FBF8A8#FBF8A8

#FBF8A8 is a very light, moderate yellow. Relative luminance 0.905; OKLCH L 96.3% C 0.100 H 106.3°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FBF8A8
RGBrgb(251, 248, 168)
HSLhsl(58, 91%, 82%)
HSVhsv(58, 33%, 98%)
CMYKcmyk(0%, 1.2%, 33.1%, 1.6%)
CIE-LABlab(96.19, -10.68, 38.86)
CIE-LCHlch(96.19, 40.30, 105.36°)
OKLaboklab(96.34% -0.0281 0.0962)
OKLCHoklch(96.34% 0.1 106.3)
XYZxyz(80.4197, 90.4728, 50.2648)
Luminance0.9047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8A8 #A8ABFB
analogous
#FBCEA8 #FBF8A8 #D5FBA8
triadic
#FBF8A8 #A8FBF8 #F8A8FB
tetradic
#FBF8A8 #A8FBCE #A8ABFB #FBA8D5
square
#FBF8A8 #A8FBCE #A8ABFB #FBA8D5
split-complementary
#FBF8A8 #A8D5FB #CEA8FB
monochromatic
#F6EF33 #F8F36D #FBF8A8 #FEFDE2 #FEFDE2

Accessibility & contrast

On white

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

On black

19.09
#FBF8A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8A8
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8A8#FFFFFF#000000##000000
##FBF8A81.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A2
Deuteranopia (green-blind)
#FFF6AB
Tritanopia (blue-blind)
#FFEEE4
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf8a8;
/* rgb */ color: rgb(251, 248, 168);
/* oklch */ color: oklch(96.3% 0.100 106.3);
Tailwind
colors: {
  custom: {
    50: '#fdfac2',
    500: '#fbf8a8',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8a8;
$custom-light: #fdfac2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8a8",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 168
  },
  "hsl": {
    "h": 57.831,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.96343,
    "c": 0.10023,
    "h": 106.3
  },
  "luminance": 0.90471
}

Semantic roles & 50–950 ramp

primary
#FBF8A8
secondary
#696DDE
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBF8A8

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

Preview Lab → · Contrast checker → · Palette generator →

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