#FBF8A3#FBF8A3

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

Color values

HEX#FBF8A3
RGBrgb(251, 248, 163)
HSLhsl(58, 92%, 81%)
HSVhsv(58, 35%, 98%)
CMYKcmyk(0%, 1.2%, 35.1%, 1.6%)
CIE-LABlab(96.12, -11.25, 41.24)
CIE-LCHlch(96.12, 42.75, 105.26°)
OKLaboklab(96.26% -0.0301 0.1015)
OKLCHoklch(96.26% 0.106 106.5)
XYZxyz(79.9628, 90.2900, 47.8586)
Luminance0.9029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8A3 #A3A6FB
analogous
#FBCCA3 #FBF8A3 #D2FBA3
triadic
#FBF8A3 #A3FBF8 #F8A3FB
tetradic
#FBF8A3 #A3FBCC #A3A6FB #FBA3D2
square
#FBF8A3 #A3FBCC #A3A6FB #FBA3D2
split-complementary
#FBF8A3 #A3D2FB #CCA3FB
monochromatic
#F6EF2E #F8F468 #FBF8A3 #FEFCDE #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF8A3#FFFFFF#000000##000000
##FBF8A31.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)
#FFF29D
Deuteranopia (green-blind)
#FFF6A6
Tritanopia (blue-blind)
#FFEEE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf8a3;
/* rgb */ color: rgb(251, 248, 163);
/* oklch */ color: oklch(96.3% 0.106 106.5);
Tailwind
colors: {
  custom: {
    50: '#fefabf',
    500: '#fbf8a3',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8a3;
$custom-light: #fefabf;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8a3",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 163
  },
  "hsl": {
    "h": 57.955,
    "s": 91.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.96258,
    "c": 0.1059,
    "h": 106.5
  },
  "luminance": 0.90288
}

Semantic roles & 50–950 ramp

primary
#FBF8A3
secondary
#6569DD
accent
#08E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBF8A3

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

Preview Lab → · Contrast checker → · Palette generator →

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