#FBF89B#FBF89B

#FBF89B is a very light, moderate yellow. Relative luminance 0.900; OKLCH L 96.1% C 0.115 H 106.8°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#FBF89B
RGBrgb(251, 248, 155)
HSLhsl(58, 92%, 80%)
HSVhsv(58, 38%, 98%)
CMYKcmyk(0%, 1.2%, 38.2%, 1.6%)
CIE-LABlab(96.00, -12.12, 45.02)
CIE-LCHlch(96.00, 46.62, 105.07°)
OKLaboklab(96.13% -0.0331 0.1099)
OKLCHoklch(96.13% 0.115 106.8)
XYZxyz(79.2686, 90.0123, 44.2024)
Luminance0.9001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF89B #9B9EFB
analogous
#FBC89B #FBF89B #CEFB9B
triadic
#FBF89B #9BFBF8 #F89BFB
tetradic
#FBF89B #9BFBC8 #9B9EFB #FB9BCE
square
#FBF89B #9BFBC8 #9B9EFB #FB9BCE
split-complementary
#FBF89B #9BCEFB #C89BFB
monochromatic
#F6F025 #F9F460 #FBF89B #FDFCD6 #FEFDE2

Accessibility & contrast

On white

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

On black

19.00
#FBF89B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF89B
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF89B#FFFFFF#000000##000000
##FBF89B1.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF194
Deuteranopia (green-blind)
#FFF59F
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf89b;
/* rgb */ color: rgb(251, 248, 155);
/* oklch */ color: oklch(96.1% 0.115 106.8);
Tailwind
colors: {
  custom: {
    50: '#fefab9',
    500: '#fbf89b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf89b;
$custom-light: #fefab9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf89b",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 155
  },
  "hsl": {
    "h": 58.125,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96129,
    "c": 0.11476,
    "h": 106.8
  },
  "luminance": 0.90011
}

Semantic roles & 50–950 ramp

primary
#FBF89B
secondary
#5E62DC
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF89B

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

Preview Lab → · Contrast checker → · Palette generator →

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