#FBF989#FBF989

#FBF989 is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.1% C 0.135 H 107.8°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#FBF989
RGBrgb(251, 249, 137)
HSLhsl(59, 93%, 76%)
HSVhsv(59, 45%, 98%)
CMYKcmyk(0%, 0.8%, 45.4%, 1.6%)
CIE-LABlab(96.03, -14.40, 53.67)
CIE-LCHlch(96.03, 55.57, 105.02°)
OKLaboklab(96.07% -0.0411 0.1282)
OKLCHoklch(96.07% 0.135 107.8)
XYZxyz(78.1763, 90.0686, 36.9289)
Luminance0.9007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF989 #898BFB
analogous
#FBC089 #FBF989 #C4FB89
triadic
#FBF989 #89FBF9 #F989FB
tetradic
#FBF989 #89FBC0 #898BFB #FB89C4
square
#FBF989 #89FBC0 #898BFB #FB89C4
split-complementary
#FBF989 #89C4FB #C089FB
monochromatic
#F7F313 #F9F64E #FBF989 #FDFCC4 #FEFDE1

Accessibility & contrast

On white

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

On black

19.01
#FBF989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF989
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF989#FFFFFF#000000##000000
##FBF9891.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17F
Deuteranopia (green-blind)
#FFF68E
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf989;
/* rgb */ color: rgb(251, 249, 137);
/* oklch */ color: oklch(96.1% 0.135 107.8);
Tailwind
colors: {
  custom: {
    50: '#fefbad',
    500: '#fbf989',
    950: '#000000',
  },
}
SCSS
$custom: #fbf989;
$custom-light: #fefbad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf989",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 58.947,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.96072,
    "c": 0.13467,
    "h": 107.8
  },
  "luminance": 0.90067
}

Semantic roles & 50–950 ramp

primary
#FBF989
secondary
#4E51DA
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF989

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

Preview Lab → · Contrast checker → · Palette generator →

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