#FBF896#FBF896

#FBF896 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 96.1% C 0.120 H 106.9°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FBF896
RGBrgb(251, 248, 150)
HSLhsl(58, 93%, 79%)
HSVhsv(58, 40%, 98%)
CMYKcmyk(0%, 1.2%, 40.2%, 1.6%)
CIE-LABlab(95.93, -12.65, 47.36)
CIE-LCHlch(95.93, 49.02, 104.95°)
OKLaboklab(96.05% -0.035 0.1149)
OKLCHoklch(96.05% 0.12 106.9)
XYZxyz(78.8574, 89.8478, 42.0366)
Luminance0.8985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF896 #9699FB
analogous
#FBC596 #FBF896 #CBFB96
triadic
#FBF896 #96FBF8 #F896FB
tetradic
#FBF896 #96FBC5 #9699FB #FB96CB
square
#FBF896 #96FBC5 #9699FB #FB96CB
split-complementary
#FBF896 #96CBFB #C596FB
monochromatic
#F7F020 #F9F45B #FBF896 #FDFCD1 #FEFDE2

Accessibility & contrast

On white

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

On black

18.97
#FBF896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF896
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF896#FFFFFF#000000##000000
##FBF8961.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18E
Deuteranopia (green-blind)
#FFF59A
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf896;
/* rgb */ color: rgb(251, 248, 150);
/* oklch */ color: oklch(96.1% 0.120 106.9);
Tailwind
colors: {
  custom: {
    50: '#fefab6',
    500: '#fbf896',
    950: '#000000',
  },
}
SCSS
$custom: #fbf896;
$custom-light: #fefab6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf896",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 58.218,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.96053,
    "c": 0.12015,
    "h": 106.9
  },
  "luminance": 0.89846
}

Semantic roles & 50–950 ramp

primary
#FBF896
secondary
#595DDC
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF896

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

Preview Lab → · Contrast checker → · Palette generator →

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