#FBF882#FBF882

#FBF882 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.140 H 107.5°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#FBF882
RGBrgb(251, 248, 130)
HSLhsl(59, 94%, 75%)
HSVhsv(59, 48%, 98%)
CMYKcmyk(0%, 1.2%, 48.2%, 1.6%)
CIE-LABlab(95.69, -14.54, 56.52)
CIE-LCHlch(95.69, 58.36, 104.42°)
OKLaboklab(95.78% -0.0422 0.134)
OKLCHoklch(95.78% 0.14 107.5)
XYZxyz(77.3821, 89.2577, 34.2669)
Luminance0.8926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF882 #8285FB
analogous
#FBBB82 #FBF882 #C2FB82
triadic
#FBF882 #82FBF8 #F882FB
tetradic
#FBF882 #82FBBB #8285FB #FB82C2
square
#FBF882 #82FBBB #8285FB #FB82C2
split-complementary
#FBF882 #82C2FB #BB82FB
monochromatic
#F7F10B #F9F547 #FBF882 #FDFBBD #FEFDE1

Accessibility & contrast

On white

1.11
#FBF882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.85
#FBF882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF882
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF882#FFFFFF#000000##000000
##FBF8821.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF077
Deuteranopia (green-blind)
#FFF588
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf882;
/* rgb */ color: rgb(251, 248, 130);
/* oklch */ color: oklch(95.8% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffaa9',
    500: '#fbf882',
    950: '#000000',
  },
}
SCSS
$custom: #fbf882;
$custom-light: #fffaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf882",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 130
  },
  "hsl": {
    "h": 58.512,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.95778,
    "c": 0.14046,
    "h": 107.5
  },
  "luminance": 0.89256
}

Semantic roles & 50–950 ramp

primary
#FBF882
secondary
#484CD9
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF882

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

Preview Lab → · Contrast checker → · Palette generator →

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