#FBF8A9#FBF8A9

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

Color values

HEX#FBF8A9
RGBrgb(251, 248, 169)
HSLhsl(58, 91%, 82%)
HSVhsv(58, 33%, 98%)
CMYKcmyk(0%, 1.2%, 32.7%, 1.6%)
CIE-LABlab(96.21, -10.56, 38.39)
CIE-LCHlch(96.21, 39.81, 105.38°)
OKLaboklab(96.36% -0.0278 0.0951)
OKLCHoklch(96.36% 0.099 106.3)
XYZxyz(80.5132, 90.5102, 50.7573)
Luminance0.9051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8A9 #A9ACFB
analogous
#FBCFA9 #FBF8A9 #D5FBA9
triadic
#FBF8A9 #A9FBF8 #F8A9FB
tetradic
#FBF8A9 #A9FBCF #A9ACFB #FBA9D5
square
#FBF8A9 #A9FBCF #A9ACFB #FBA9D5
split-complementary
#FBF8A9 #A9D5FB #CFA9FB
monochromatic
#F6EE34 #F8F36F #FBF8A9 #FEFDE2 #FEFDE2

Accessibility & contrast

On white

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

On black

19.10
#FBF8A9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8A9
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8A9#FFFFFF#000000##000000
##FBF8A91.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf8a9;
/* rgb */ color: rgb(251, 248, 169);
/* oklch */ color: oklch(96.4% 0.099 106.3);
Tailwind
colors: {
  custom: {
    50: '#fdfac3',
    500: '#fbf8a9',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8a9;
$custom-light: #fdfac3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8a9",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 169
  },
  "hsl": {
    "h": 57.805,
    "s": 91.111,
    "l": 82.353
  },
  "oklch": {
    "l": 0.9636,
    "c": 0.09909,
    "h": 106.3
  },
  "luminance": 0.90509
}

Semantic roles & 50–950 ramp

primary
#FBF8A9
secondary
#6A6EDE
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBF8A9

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

Preview Lab → · Contrast checker → · Palette generator →

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