#FBF189#FBF189

#FBF189 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.4% C 0.126 H 103.7°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FBF189
RGBrgb(251, 241, 137)
HSLhsl(55, 93%, 76%)
HSVhsv(55, 45%, 98%)
CMYKcmyk(0%, 4%, 45.4%, 1.6%)
CIE-LABlab(93.98, -10.47, 51.17)
CIE-LCHlch(93.98, 52.23, 101.57°)
OKLaboklab(94.45% -0.0299 0.1227)
OKLCHoklch(94.45% 0.126 103.7)
XYZxyz(75.7561, 85.2282, 36.1222)
Luminance0.8523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF189 #8993FB
analogous
#FBB889 #FBF189 #CCFB89
triadic
#FBF189 #89FBF1 #F189FB
tetradic
#FBF189 #89FBB8 #8993FB #FB89CC
square
#FBF189 #89FBB8 #8993FB #FB89CC
split-complementary
#FBF189 #89CCFB #B889FB
monochromatic
#F7E313 #F9EA4E #FBF189 #FDF8C4 #FEFBE1

Accessibility & contrast

On white

1.16
#FBF189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#FBF189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF189
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF189#FFFFFF#000000##000000
##FBF1891.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB80
Deuteranopia (green-blind)
#FFF08E
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf189;
/* rgb */ color: rgb(251, 241, 137);
/* oklch */ color: oklch(94.4% 0.126 103.7);
Tailwind
colors: {
  custom: {
    50: '#fef5ad',
    500: '#fbf189',
    950: '#000000',
  },
}
SCSS
$custom: #fbf189;
$custom-light: #fef5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf189",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 54.737,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94448,
    "c": 0.12628,
    "h": 103.7
  },
  "luminance": 0.85226
}

Semantic roles & 50–950 ramp

primary
#FBF189
secondary
#4E5ADA
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF189

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

Preview Lab → · Contrast checker → · Palette generator →

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