#FBF98D#FBF98D

#FBF98D is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.1% C 0.131 H 107.7°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FBF98D
RGBrgb(251, 249, 141)
HSLhsl(59, 93%, 77%)
HSVhsv(59, 44%, 98%)
CMYKcmyk(0%, 0.8%, 43.8%, 1.6%)
CIE-LABlab(96.07, -14.02, 51.84)
CIE-LCHlch(96.07, 53.71, 105.14°)
OKLaboklab(96.13% -0.0397 0.1245)
OKLCHoklch(96.13% 0.131 107.7)
XYZxyz(78.4686, 90.1855, 38.4681)
Luminance0.9018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF98D #8D8FFB
analogous
#FBC28D #FBF98D #C6FB8D
triadic
#FBF98D #8DFBF9 #F98DFB
tetradic
#FBF98D #8DFBC2 #8D8FFB #FB8DC6
square
#FBF98D #8DFBC2 #8D8FFB #FB8DC6
split-complementary
#FBF98D #8DC6FB #C28DFB
monochromatic
#F7F317 #F9F652 #FBF98D #FDFCC8 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF98D#FFFFFF#000000##000000
##FBF98D1.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)
#FFF184
Deuteranopia (green-blind)
#FFF692
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf98d;
/* rgb */ color: rgb(251, 249, 141);
/* oklch */ color: oklch(96.1% 0.131 107.7);
Tailwind
colors: {
  custom: {
    50: '#fefbb0',
    500: '#fbf98d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf98d;
$custom-light: #fefbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf98d",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 58.909,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96126,
    "c": 0.13064,
    "h": 107.7
  },
  "luminance": 0.90184
}

Semantic roles & 50–950 ramp

primary
#FBF98D
secondary
#5254DB
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FBF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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