#FBF8A5#FBF8A5

#FBF8A5 is a very light, moderate yellow. Relative luminance 0.904; OKLCH L 96.3% C 0.104 H 106.4°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#FBF8A5
RGBrgb(251, 248, 165)
HSLhsl(58, 91%, 82%)
HSVhsv(58, 34%, 98%)
CMYKcmyk(0%, 1.2%, 34.3%, 1.6%)
CIE-LABlab(96.15, -11.02, 40.29)
CIE-LCHlch(96.15, 41.77, 105.30°)
OKLaboklab(96.29% -0.0293 0.0994)
OKLCHoklch(96.29% 0.104 106.4)
XYZxyz(80.1434, 90.3623, 48.8098)
Luminance0.9036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8A5 #A5A8FB
analogous
#FBCDA5 #FBF8A5 #D3FBA5
triadic
#FBF8A5 #A5FBF8 #F8A5FB
tetradic
#FBF8A5 #A5FBCD #A5A8FB #FBA5D3
square
#FBF8A5 #A5FBCD #A5A8FB #FBA5D3
split-complementary
#FBF8A5 #A5D3FB #CDA5FB
monochromatic
#F6EF30 #F8F36A #FBF8A5 #FEFDE0 #FEFDE2

Accessibility & contrast

On white

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

On black

19.07
#FBF8A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8A5
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8A5#FFFFFF#000000##000000
##FBF8A51.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF29F
Deuteranopia (green-blind)
#FFF6A8
Tritanopia (blue-blind)
#FFEEE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf8a5;
/* rgb */ color: rgb(251, 248, 165);
/* oklch */ color: oklch(96.3% 0.104 106.4);
Tailwind
colors: {
  custom: {
    50: '#fefac0',
    500: '#fbf8a5',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8a5;
$custom-light: #fefac0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8a5",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 165
  },
  "hsl": {
    "h": 57.907,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.96291,
    "c": 0.10365,
    "h": 106.4
  },
  "luminance": 0.90361
}

Semantic roles & 50–950 ramp

primary
#FBF8A5
secondary
#676BDE
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBF8A5

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

Preview Lab → · Contrast checker → · Palette generator →

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