#FBF8A0#FBF8A0

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

Color values

HEX#FBF8A0
RGBrgb(251, 248, 160)
HSLhsl(58, 92%, 81%)
HSVhsv(58, 36%, 98%)
CMYKcmyk(0%, 1.2%, 36.3%, 1.6%)
CIE-LABlab(96.07, -11.58, 42.66)
CIE-LCHlch(96.07, 44.20, 105.19°)
OKLaboklab(96.21% -0.0312 0.1047)
OKLCHoklch(96.21% 0.109 106.6)
XYZxyz(79.6972, 90.1838, 46.4598)
Luminance0.9018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF8A0 #A0A3FB
analogous
#FBCAA0 #FBF8A0 #D0FBA0
triadic
#FBF8A0 #A0FBF8 #F8A0FB
tetradic
#FBF8A0 #A0FBCA #A0A3FB #FBA0D0
square
#FBF8A0 #A0FBCA #A0A3FB #FBA0D0
split-complementary
#FBF8A0 #A0D0FB #CAA0FB
monochromatic
#F6EF2B #F9F465 #FBF8A0 #FDFCDB #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF8A0#FFFFFF#000000##000000
##FBF8A01.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)
#FFF19A
Deuteranopia (green-blind)
#FFF6A4
Tritanopia (blue-blind)
#FFEDE2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf8a0;
/* rgb */ color: rgb(251, 248, 160);
/* oklch */ color: oklch(96.2% 0.109 106.6);
Tailwind
colors: {
  custom: {
    50: '#fefabd',
    500: '#fbf8a0',
    950: '#000000',
  },
}
SCSS
$custom: #fbf8a0;
$custom-light: #fefabd;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf8a0",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 160
  },
  "hsl": {
    "h": 58.022,
    "s": 91.919,
    "l": 80.588
  },
  "oklch": {
    "l": 0.96209,
    "c": 0.10926,
    "h": 106.6
  },
  "luminance": 0.90182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF8A0

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

Preview Lab → · Contrast checker → · Palette generator →

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