#FBF8A4#FBF8A4

#FBF8A4 is a very light, moderate yellow. Relative luminance 0.903; OKLCH L 96.3% C 0.105 H 106.5°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FBF8A4
RGBrgb(251, 248, 164)
HSLhsl(58, 92%, 81%)
HSVhsv(58, 35%, 98%)
CMYKcmyk(0%, 1.2%, 34.7%, 1.6%)
CIE-LABlab(96.13, -11.14, 40.77)
CIE-LCHlch(96.13, 42.26, 105.28°)
OKLaboklab(96.28% -0.0297 0.1005)
OKLCHoklch(96.28% 0.105 106.5)
XYZxyz(80.0528, 90.3260, 48.3324)
Luminance0.9032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8A4 #A4A7FB
analogous
#FBCDA4 #FBF8A4 #D3FBA4
triadic
#FBF8A4 #A4FBF8 #F8A4FB
tetradic
#FBF8A4 #A4FBCD #A4A7FB #FBA4D3
square
#FBF8A4 #A4FBCD #A4A7FB #FBA4D3
split-complementary
#FBF8A4 #A4D3FB #CDA4FB
monochromatic
#F6EF2F #F8F369 #FBF8A4 #FEFDDF #FEFDE2

Accessibility & contrast

On white

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

On black

19.06
#FBF8A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF8A4
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF8A4#FFFFFF#000000##000000
##FBF8A41.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf8a4;
/* rgb */ color: rgb(251, 248, 164);
/* oklch */ color: oklch(96.3% 0.105 106.5);
Tailwind
colors: {
  custom: {
    50: '#fefac0',
    500: '#fbf8a4',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8a4;
$custom-light: #fefac0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8a4",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 164
  },
  "hsl": {
    "h": 57.931,
    "s": 91.579,
    "l": 81.373
  },
  "oklch": {
    "l": 0.96275,
    "c": 0.10477,
    "h": 106.5
  },
  "luminance": 0.90324
}

Semantic roles & 50–950 ramp

primary
#FBF8A4
secondary
#666ADD
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBF8A4

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

Preview Lab → · Contrast checker → · Palette generator →

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