#FBF899#FBF899

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

Color values

HEX#FBF899
RGBrgb(251, 248, 153)
HSLhsl(58, 92%, 79%)
HSVhsv(58, 39%, 98%)
CMYKcmyk(0%, 1.2%, 39%, 1.6%)
CIE-LABlab(95.97, -12.34, 45.96)
CIE-LCHlch(95.97, 47.58, 105.03°)
OKLaboklab(96.1% -0.0339 0.1119)
OKLCHoklch(96.1% 0.117 106.8)
XYZxyz(79.1020, 89.9457, 43.3251)
Luminance0.8994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF899 #999CFB
analogous
#FBC799 #FBF899 #CDFB99
triadic
#FBF899 #99FBF8 #F899FB
tetradic
#FBF899 #99FBC7 #999CFB #FB99CD
square
#FBF899 #99FBC7 #999CFB #FB99CD
split-complementary
#FBF899 #99CDFB #C799FB
monochromatic
#F6F023 #F9F45E #FBF899 #FDFCD4 #FEFDE2

Accessibility & contrast

On white

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

On black

18.99
#FBF899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF899
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF899#FFFFFF#000000##000000
##FBF8991.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf899;
/* rgb */ color: rgb(251, 248, 153);
/* oklch */ color: oklch(96.1% 0.117 106.8);
Tailwind
colors: {
  custom: {
    50: '#fefab8',
    500: '#fbf899',
    950: '#000000',
  },
}
SCSS
$custom: #fbf899;
$custom-light: #fefab8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf899",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 153
  },
  "hsl": {
    "h": 58.163,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.96098,
    "c": 0.11693,
    "h": 106.8
  },
  "luminance": 0.89944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF899

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

Preview Lab → · Contrast checker → · Palette generator →

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