#FBF89A#FBF89A

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

Color values

HEX#FBF89A
RGBrgb(251, 248, 154)
HSLhsl(58, 92%, 79%)
HSVhsv(58, 39%, 98%)
CMYKcmyk(0%, 1.2%, 38.6%, 1.6%)
CIE-LABlab(95.99, -12.23, 45.49)
CIE-LCHlch(95.99, 47.10, 105.05°)
OKLaboklab(96.11% -0.0335 0.1109)
OKLCHoklch(96.11% 0.116 106.8)
XYZxyz(79.1850, 89.9789, 43.7619)
Luminance0.8998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF89A #9A9DFB
analogous
#FBC89A #FBF89A #CEFB9A
triadic
#FBF89A #9AFBF8 #F89AFB
tetradic
#FBF89A #9AFBC8 #9A9DFB #FB9ACE
square
#FBF89A #9AFBC8 #9A9DFB #FB9ACE
split-complementary
#FBF89A #9ACEFB #C89AFB
monochromatic
#F6F024 #F9F45F #FBF89A #FDFCD5 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF89A#FFFFFF#000000##000000
##FBF89A1.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)
#FFF193
Deuteranopia (green-blind)
#FFF59E
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf89a;
/* rgb */ color: rgb(251, 248, 154);
/* oklch */ color: oklch(96.1% 0.116 106.8);
Tailwind
colors: {
  custom: {
    50: '#fefab9',
    500: '#fbf89a',
    950: '#000000',
  },
}
SCSS
$custom: #fbf89a;
$custom-light: #fefab9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf89a",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 154
  },
  "hsl": {
    "h": 58.144,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96113,
    "c": 0.11585,
    "h": 106.8
  },
  "luminance": 0.89977
}

Semantic roles & 50–950 ramp

primary
#FBF89A
secondary
#5D61DC
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF89A

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

Preview Lab → · Contrast checker → · Palette generator →

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