#FBF86D#FBF86D

#FBF86D is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.159 H 107.9°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#FBF86D
RGBrgb(251, 248, 109)
HSLhsl(59, 95%, 71%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 1.2%, 56.6%, 1.6%)
CIE-LABlab(95.48, -16.19, 65.65)
CIE-LCHlch(95.48, 67.61, 103.85°)
OKLaboklab(95.54% -0.049 0.1516)
OKLCHoklch(95.54% 0.159 107.9)
XYZxyz(76.1136, 88.7503, 27.5861)
Luminance0.8875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF86D #6D70FB
analogous
#FBB16D #FBF86D #B7FB6D
triadic
#FBF86D #6DFBF8 #F86DFB
tetradic
#FBF86D #6DFBB1 #6D70FB #FB6DB7
square
#FBF86D #6DFBB1 #6D70FB #FB6DB7
split-complementary
#FBF86D #6DB7FB #B16DFB
monochromatic
#E7E306 #F9F531 #FBF86D #FDFBA9 #FEFEE1

Accessibility & contrast

On white

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

On black

18.75
#FBF86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF86D
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF86D#FFFFFF#000000##000000
##FBF86D1.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf86d;
/* rgb */ color: rgb(251, 248, 109);
/* oklch */ color: oklch(95.5% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffa9b',
    500: '#fbf86d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf86d;
$custom-light: #fffa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf86d",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 58.732,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9554,
    "c": 0.15932,
    "h": 107.9
  },
  "luminance": 0.88748
}

Semantic roles & 50–950 ramp

primary
#FBF86D
secondary
#3639D6
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF86D

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

Preview Lab → · Contrast checker → · Palette generator →

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