#FBF86B#FBF86B

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

Color values

HEX#FBF86B
RGBrgb(251, 248, 107)
HSLhsl(59, 95%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 1.2%, 57.4%, 1.6%)
CIE-LABlab(95.46, -16.33, 66.48)
CIE-LCHlch(95.46, 68.45, 103.80°)
OKLaboklab(95.52% -0.0496 0.1531)
OKLCHoklch(95.52% 0.161 108)
XYZxyz(76.0072, 88.7077, 27.0256)
Luminance0.8871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF86B #6B6EFB
analogous
#FBB06B #FBF86B #B6FB6B
triadic
#FBF86B #6BFBF8 #F86BFB
tetradic
#FBF86B #6BFBB0 #6B6EFB #FB6BB6
square
#FBF86B #6BFBB0 #6B6EFB #FB6BB6
split-complementary
#FBF86B #6BB6FB #B06BFB
monochromatic
#E5E106 #F9F52F #FBF86B #FDFBA7 #FEFEE1

Accessibility & contrast

On white

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

On black

18.74
#FBF86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF86B
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF86B#FFFFFF#000000##000000
##FBF86B1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf86b;
/* rgb */ color: rgb(251, 248, 107);
/* oklch */ color: oklch(95.5% 0.161 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffa9a',
    500: '#fbf86b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf86b;
$custom-light: #fffa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf86b",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 107
  },
  "hsl": {
    "h": 58.75,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9552,
    "c": 0.16096,
    "h": 108
  },
  "luminance": 0.88706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF86B

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

Preview Lab → · Contrast checker → · Palette generator →

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