#FBF98A#FBF98A

#FBF98A is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.1% C 0.134 H 107.8°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#FBF98A
RGBrgb(251, 249, 138)
HSLhsl(59, 93%, 76%)
HSVhsv(59, 45%, 98%)
CMYKcmyk(0%, 0.8%, 45%, 1.6%)
CIE-LABlab(96.04, -14.30, 53.22)
CIE-LCHlch(96.04, 55.10, 105.05°)
OKLaboklab(96.09% -0.0408 0.1273)
OKLCHoklch(96.09% 0.134 107.8)
XYZxyz(78.2484, 90.0974, 37.3084)
Luminance0.9010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF98A #8A8CFB
analogous
#FBC18A #FBF98A #C5FB8A
triadic
#FBF98A #8AFBF9 #F98AFB
tetradic
#FBF98A #8AFBC1 #8A8CFB #FB8AC5
square
#FBF98A #8AFBC1 #8A8CFB #FB8AC5
split-complementary
#FBF98A #8AC5FB #C18AFB
monochromatic
#F7F314 #F9F64F #FBF98A #FDFCC5 #FEFDE1

Accessibility & contrast

On white

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

On black

19.02
#FBF98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF98A
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF98A#FFFFFF#000000##000000
##FBF98A1.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF181
Deuteranopia (green-blind)
#FFF68F
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf98a;
/* rgb */ color: rgb(251, 249, 138);
/* oklch */ color: oklch(96.1% 0.134 107.8);
Tailwind
colors: {
  custom: {
    50: '#fefbae',
    500: '#fbf98a',
    950: '#000000',
  },
}
SCSS
$custom: #fbf98a;
$custom-light: #fefbae;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf98a",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 138
  },
  "hsl": {
    "h": 58.938,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.96085,
    "c": 0.13368,
    "h": 107.8
  },
  "luminance": 0.90096
}

Semantic roles & 50–950 ramp

primary
#FBF98A
secondary
#4F52DA
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF98A

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

Preview Lab → · Contrast checker → · Palette generator →

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