#FBF289#FBF289

#FBF289 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.7% C 0.127 H 104.2°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FBF289
RGBrgb(251, 242, 137)
HSLhsl(55, 93%, 76%)
HSVhsv(55, 45%, 98%)
CMYKcmyk(0%, 3.6%, 45.4%, 1.6%)
CIE-LABlab(94.24, -10.97, 51.48)
CIE-LCHlch(94.24, 52.64, 102.02°)
OKLaboklab(94.65% -0.0313 0.1234)
OKLCHoklch(94.65% 0.127 104.2)
XYZxyz(76.0529, 85.8218, 36.2211)
Luminance0.8582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF289 #8992FB
analogous
#FBB989 #FBF289 #CBFB89
triadic
#FBF289 #89FBF2 #F289FB
tetradic
#FBF289 #89FBB9 #8992FB #FB89CB
square
#FBF289 #89FBB9 #8992FB #FB89CB
split-complementary
#FBF289 #89CBFB #B989FB
monochromatic
#F7E513 #F9EB4E #FBF289 #FDF9C4 #FEFCE1

Accessibility & contrast

On white

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

On black

18.16
#FBF289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF289
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF289#FFFFFF#000000##000000
##FBF2891.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf289;
/* rgb */ color: rgb(251, 242, 137);
/* oklch */ color: oklch(94.7% 0.127 104.2);
Tailwind
colors: {
  custom: {
    50: '#fef6ad',
    500: '#fbf289',
    950: '#000000',
  },
}
SCSS
$custom: #fbf289;
$custom-light: #fef6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf289",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 137
  },
  "hsl": {
    "h": 55.263,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9465,
    "c": 0.1273,
    "h": 104.2
  },
  "luminance": 0.8582
}

Semantic roles & 50–950 ramp

primary
#FBF289
secondary
#4E59DA
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF289

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

Preview Lab → · Contrast checker → · Palette generator →

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