#FBFA9D#FBFA9D

#FBFA9D is a very light, moderate yellow. Relative luminance 0.913; OKLCH L 96.6% C 0.115 H 107.8°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#FBFA9D
RGBrgb(251, 250, 157)
HSLhsl(59, 92%, 80%)
HSVhsv(59, 37%, 98%)
CMYKcmyk(0%, 0.4%, 37.5%, 1.6%)
CIE-LABlab(96.54, -12.89, 44.73)
CIE-LCHlch(96.54, 46.55, 106.08°)
OKLaboklab(96.57% -0.0352 0.1093)
OKLCHoklch(96.57% 0.115 107.8)
XYZxyz(80.0561, 91.3164, 45.3003)
Luminance0.9132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA9D #9D9EFB
analogous
#FBCB9D #FBFA9D #CDFB9D
triadic
#FBFA9D #9DFBFA #FA9DFB
tetradic
#FBFA9D #9DFBCB #9D9EFB #FB9DCD
square
#FBFA9D #9DFBCB #9D9EFB #FB9DCD
split-complementary
#FBFA9D #9DCDFB #CB9DFB
monochromatic
#F6F427 #F9F762 #FBFA9D #FDFDD8 #FEFEE2

Accessibility & contrast

On white

1.09
#FBFA9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.26
#FBFA9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA9D
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA9D#FFFFFF#000000##000000
##FBFA9D1.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF396
Deuteranopia (green-blind)
#FFF7A1
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfa9d;
/* rgb */ color: rgb(251, 250, 157);
/* oklch */ color: oklch(96.6% 0.115 107.8);
Tailwind
colors: {
  custom: {
    50: '#fefbbb',
    500: '#fbfa9d',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa9d;
$custom-light: #fefbbb;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa9d",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 157
  },
  "hsl": {
    "h": 59.362,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.96566,
    "c": 0.11483,
    "h": 107.8
  },
  "luminance": 0.91315
}

Semantic roles & 50–950 ramp

primary
#FBFA9D
secondary
#6061DD
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBFA9D

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

Preview Lab → · Contrast checker → · Palette generator →

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