#FBF489#FBF489

#FBF489 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.1% C 0.129 H 105.3°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FBF489
RGBrgb(251, 244, 137)
HSLhsl(56, 93%, 76%)
HSVhsv(56, 45%, 98%)
CMYKcmyk(0%, 2.8%, 45.4%, 1.6%)
CIE-LABlab(94.75, -11.95, 52.11)
CIE-LCHlch(94.75, 53.46, 102.92°)
OKLaboklab(95.06% -0.0341 0.1248)
OKLCHoklch(95.06% 0.129 105.3)
XYZxyz(76.6514, 87.0188, 36.4206)
Luminance0.8702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF489 #8990FB
analogous
#FBBB89 #FBF489 #C9FB89
triadic
#FBF489 #89FBF4 #F489FB
tetradic
#FBF489 #89FBBB #8990FB #FB89C9
square
#FBF489 #89FBBB #8990FB #FB89C9
split-complementary
#FBF489 #89C9FB #BB89FB
monochromatic
#F7E913 #F9EE4E #FBF489 #FDFAC4 #FEFCE1

Accessibility & contrast

On white

1.14
#FBF489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#FBF489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF489
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF489#FFFFFF#000000##000000
##FBF4891.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED80
Deuteranopia (green-blind)
#FFF28E
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf489;
/* rgb */ color: rgb(251, 244, 137);
/* oklch */ color: oklch(95.1% 0.129 105.3);
Tailwind
colors: {
  custom: {
    50: '#fef7ad',
    500: '#fbf489',
    950: '#000000',
  },
}
SCSS
$custom: #fbf489;
$custom-light: #fef7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf489",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 137
  },
  "hsl": {
    "h": 56.316,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95055,
    "c": 0.12936,
    "h": 105.3
  },
  "luminance": 0.87017
}

Semantic roles & 50–950 ramp

primary
#FBF489
secondary
#4E57DA
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF489

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

Preview Lab → · Contrast checker → · Palette generator →

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