#FBF86F#FBF86F

#FBF86F is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.6% C 0.158 H 107.9°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#FBF86F
RGBrgb(251, 248, 111)
HSLhsl(59, 95%, 71%)
HSVhsv(59, 56%, 98%)
CMYKcmyk(0%, 1.2%, 55.8%, 1.6%)
CIE-LABlab(95.49, -16.04, 64.81)
CIE-LCHlch(95.49, 66.76, 103.90°)
OKLaboklab(95.56% -0.0484 0.15)
OKLCHoklch(95.56% 0.158 107.9)
XYZxyz(76.2225, 88.7939, 28.1596)
Luminance0.8879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF86F #6F72FB
analogous
#FBB26F #FBF86F #B8FB6F
triadic
#FBF86F #6FFBF8 #F86FFB
tetradic
#FBF86F #6FFBB2 #6F72FB #FB6FB8
square
#FBF86F #6FFBB2 #6F72FB #FB6FB8
split-complementary
#FBF86F #6FB8FB #B26FFB
monochromatic
#E9E406 #F9F533 #FBF86F #FDFBAB #FEFEE1

Accessibility & contrast

On white

1.12
#FBF86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.76
#FBF86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF86F
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF86F#FFFFFF#000000##000000
##FBF86F1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF61
Deuteranopia (green-blind)
#FFF577
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf86f;
/* rgb */ color: rgb(251, 248, 111);
/* oklch */ color: oklch(95.6% 0.158 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffa9d',
    500: '#fbf86f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf86f;
$custom-light: #fffa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf86f",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 58.714,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95561,
    "c": 0.15764,
    "h": 107.9
  },
  "luminance": 0.88792
}

Semantic roles & 50–950 ramp

primary
#FBF86F
secondary
#383BD6
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF86F

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

Preview Lab → · Contrast checker → · Palette generator →

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