#FBF498#FBF498

#FBF498 is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.3% C 0.114 H 104.6°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#FBF498
RGBrgb(251, 244, 152)
HSLhsl(56, 93%, 79%)
HSVhsv(56, 39%, 98%)
CMYKcmyk(0%, 2.8%, 39.4%, 1.6%)
CIE-LABlab(94.94, -10.47, 45.13)
CIE-LCHlch(94.94, 46.33, 103.06°)
OKLaboklab(95.27% -0.0286 0.11)
OKLCHoklch(95.27% 0.114 104.6)
XYZxyz(77.8032, 87.4795, 42.4864)
Luminance0.8748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF498 #989FFB
analogous
#FBC398 #FBF498 #D1FB98
triadic
#FBF498 #98FBF4 #F498FB
tetradic
#FBF498 #98FBC3 #989FFB #FB98D1
square
#FBF498 #98FBC3 #989FFB #FB98D1
split-complementary
#FBF498 #98D1FB #C398FB
monochromatic
#F6E722 #F9EE5D #FBF498 #FDFAD3 #FEFCE2

Accessibility & contrast

On white

1.14
#FBF498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.50
#FBF498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF498
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF498#FFFFFF#000000##000000
##FBF4981.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FFF39C
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf498;
/* rgb */ color: rgb(251, 244, 152);
/* oklch */ color: oklch(95.3% 0.114 104.6);
Tailwind
colors: {
  custom: {
    50: '#fef7b7',
    500: '#fbf498',
    950: '#000000',
  },
}
SCSS
$custom: #fbf498;
$custom-light: #fef7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf498",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 152
  },
  "hsl": {
    "h": 55.758,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95274,
    "c": 0.11365,
    "h": 104.6
  },
  "luminance": 0.87478
}

Semantic roles & 50–950 ramp

primary
#FBF498
secondary
#5B64DC
accent
#10E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF498

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

Preview Lab → · Contrast checker → · Palette generator →

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