#FBF89F#FBF89F

#FBF89F is a very light, moderate yellow. Relative luminance 0.901; OKLCH L 96.2% C 0.110 H 106.6°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#FBF89F
RGBrgb(251, 248, 159)
HSLhsl(58, 92%, 80%)
HSVhsv(58, 37%, 98%)
CMYKcmyk(0%, 1.2%, 36.7%, 1.6%)
CIE-LABlab(96.06, -11.69, 43.13)
CIE-LCHlch(96.06, 44.69, 105.17°)
OKLaboklab(96.19% -0.0316 0.1057)
OKLCHoklch(96.19% 0.11 106.6)
XYZxyz(79.6101, 90.1489, 46.0009)
Luminance0.9015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF89F #9FA2FB
analogous
#FBCA9F #FBF89F #D0FB9F
triadic
#FBF89F #9FFBF8 #F89FFB
tetradic
#FBF89F #9FFBCA #9FA2FB #FB9FD0
square
#FBF89F #9FFBCA #9FA2FB #FB9FD0
split-complementary
#FBF89F #9FD0FB #CA9FFB
monochromatic
#F6EF29 #F9F464 #FBF89F #FDFCDA #FEFDE2

Accessibility & contrast

On white

1.10
#FBF89F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.03
#FBF89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF89F
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF89F#FFFFFF#000000##000000
##FBF89F1.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF198
Deuteranopia (green-blind)
#FFF6A3
Tritanopia (blue-blind)
#FFEDE2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf89f;
/* rgb */ color: rgb(251, 248, 159);
/* oklch */ color: oklch(96.2% 0.110 106.6);
Tailwind
colors: {
  custom: {
    50: '#fefabc',
    500: '#fbf89f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf89f;
$custom-light: #fefabc;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf89f",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 159
  },
  "hsl": {
    "h": 58.043,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.96192,
    "c": 0.11036,
    "h": 106.6
  },
  "luminance": 0.90147
}

Semantic roles & 50–950 ramp

primary
#FBF89F
secondary
#6165DD
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF89F

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

Preview Lab → · Contrast checker → · Palette generator →

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