#FBFBA7#FBFBA7

#FBFBA7 is a very light, moderate yellow. Relative luminance 0.923; OKLCH L 96.9% C 0.105 H 108.2°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#FBFBA7
RGBrgb(251, 251, 167)
HSLhsl(60, 91%, 82%)
HSVhsv(60, 33%, 98%)
CMYKcmyk(0%, 0%, 33.5%, 1.6%)
CIE-LABlab(96.94, -12.27, 40.34)
CIE-LCHlch(96.94, 42.16, 106.92°)
OKLaboklab(96.93% -0.0328 0.0996)
OKLCHoklch(96.93% 0.105 108.2)
XYZxyz(81.2566, 92.2951, 50.0860)
Luminance0.9229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFBA7 #A7A7FB
analogous
#FBD1A7 #FBFBA7 #D1FBA7
triadic
#FBFBA7 #A7FBFB #FBA7FB
tetradic
#FBFBA7 #A7FBD1 #A7A7FB #FBA7D1
square
#FBFBA7 #A7FBD1 #A7A7FB #FBA7D1
split-complementary
#FBFBA7 #A7D1FB #D1A7FB
monochromatic
#F6F632 #F8F86C #FBFBA7 #FEFEE2 #FEFEE2

Accessibility & contrast

On white

1.08
#FBFBA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.46
#FBFBA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFBA7
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFBA7#FFFFFF#000000##000000
##FBFBA71.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4A1
Deuteranopia (green-blind)
#FFF8AA
Tritanopia (blue-blind)
#FFF1E6
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbfba7;
/* rgb */ color: rgb(251, 251, 167);
/* oklch */ color: oklch(96.9% 0.105 108.2);
Tailwind
colors: {
  custom: {
    50: '#fdfcc2',
    500: '#fbfba7',
    950: '#000000',
  },
}
SCSS
$custom: #fbfba7;
$custom-light: #fdfcc2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfba7",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 167
  },
  "hsl": {
    "h": 60,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.96931,
    "c": 0.10485,
    "h": 108.2
  },
  "luminance": 0.92294
}

Semantic roles & 50–950 ramp

primary
#FBFBA7
secondary
#6868DE
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBFBA7

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

Preview Lab → · Contrast checker → · Palette generator →

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