#FBF496#FBF496

#FBF496 is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.116 H 104.7°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FBF496
RGBrgb(251, 244, 150)
HSLhsl(56, 93%, 79%)
HSVhsv(56, 40%, 98%)
CMYKcmyk(0%, 2.8%, 40.2%, 1.6%)
CIE-LABlab(94.91, -10.68, 46.07)
CIE-LCHlch(94.91, 47.29, 103.05°)
OKLaboklab(95.24% -0.0293 0.112)
OKLCHoklch(95.24% 0.116 104.7)
XYZxyz(77.6407, 87.4146, 41.6310)
Luminance0.8741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF496 #969DFB
analogous
#FBC196 #FBF496 #CFFB96
triadic
#FBF496 #96FBF4 #F496FB
tetradic
#FBF496 #96FBC1 #969DFB #FB96CF
square
#FBF496 #96FBC1 #969DFB #FB96CF
split-complementary
#FBF496 #96CFFB #C196FB
monochromatic
#F7E820 #F9EE5B #FBF496 #FDFAD1 #FEFCE2

Accessibility & contrast

On white

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

On black

18.48
#FBF496 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF496
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF496#FFFFFF#000000##000000
##FBF4961.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf496;
/* rgb */ color: rgb(251, 244, 150);
/* oklch */ color: oklch(95.2% 0.116 104.7);
Tailwind
colors: {
  custom: {
    50: '#fef7b6',
    500: '#fbf496',
    950: '#000000',
  },
}
SCSS
$custom: #fbf496;
$custom-light: #fef7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf496",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 150
  },
  "hsl": {
    "h": 55.842,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95243,
    "c": 0.11581,
    "h": 104.7
  },
  "luminance": 0.87413
}

Semantic roles & 50–950 ramp

primary
#FBF496
secondary
#5963DC
accent
#10E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF496

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

Preview Lab → · Contrast checker → · Palette generator →

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