#FBF8A1#FBF8A1

#FBF8A1 is a very light, moderate yellow. Relative luminance 0.902; OKLCH L 96.2% C 0.108 H 106.6°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FBF8A1
RGBrgb(251, 248, 161)
HSLhsl(58, 92%, 81%)
HSVhsv(58, 36%, 98%)
CMYKcmyk(0%, 1.2%, 35.9%, 1.6%)
CIE-LABlab(96.09, -11.47, 42.19)
CIE-LCHlch(96.09, 43.72, 105.21°)
OKLaboklab(96.23% -0.0308 0.1037)
OKLCHoklch(96.23% 0.108 106.6)
XYZxyz(79.7851, 90.2189, 46.9223)
Luminance0.9022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8A1 #A1A4FB
analogous
#FBCBA1 #FBF8A1 #D1FBA1
triadic
#FBF8A1 #A1FBF8 #F8A1FB
tetradic
#FBF8A1 #A1FBCB #A1A4FB #FBA1D1
square
#FBF8A1 #A1FBCB #A1A4FB #FBA1D1
split-complementary
#FBF8A1 #A1D1FB #CBA1FB
monochromatic
#F6EF2C #F9F466 #FBF8A1 #FDFCDC #FEFDE2

Accessibility & contrast

On white

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

On black

19.04
#FBF8A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8A1
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8A1#FFFFFF#000000##000000
##FBF8A11.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF29B
Deuteranopia (green-blind)
#FFF6A5
Tritanopia (blue-blind)
#FFEDE2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf8a1;
/* rgb */ color: rgb(251, 248, 161);
/* oklch */ color: oklch(96.2% 0.108 106.6);
Tailwind
colors: {
  custom: {
    50: '#fefabe',
    500: '#fbf8a1',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8a1;
$custom-light: #fefabe;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8a1",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 161
  },
  "hsl": {
    "h": 58,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96225,
    "c": 0.10814,
    "h": 106.6
  },
  "luminance": 0.90217
}

Semantic roles & 50–950 ramp

primary
#FBF8A1
secondary
#6367DD
accent
#08E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF8A1

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

Preview Lab → · Contrast checker → · Palette generator →

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