#FBF86C#FBF86C

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

Color values

HEX#FBF86C
RGBrgb(251, 248, 108)
HSLhsl(59, 95%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 1.2%, 57%, 1.6%)
CIE-LABlab(95.47, -16.26, 66.06)
CIE-LCHlch(95.47, 68.03, 103.82°)
OKLaboklab(95.53% -0.0493 0.1524)
OKLCHoklch(95.53% 0.16 107.9)
XYZxyz(76.0601, 88.7289, 27.3042)
Luminance0.8873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF86C #6C6FFB
analogous
#FBB06C #FBF86C #B7FB6C
triadic
#FBF86C #6CFBF8 #F86CFB
tetradic
#FBF86C #6CFBB0 #6C6FFB #FB6CB7
square
#FBF86C #6CFBB0 #6C6FFB #FB6CB7
split-complementary
#FBF86C #6CB7FB #B06CFB
monochromatic
#E6E206 #F9F530 #FBF86C #FDFBA8 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF86C#FFFFFF#000000##000000
##FBF86C1.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)
#FFEF5D
Deuteranopia (green-blind)
#FFF474
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf86c;
/* rgb */ color: rgb(251, 248, 108);
/* oklch */ color: oklch(95.5% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffa9b',
    500: '#fbf86c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf86c;
$custom-light: #fffa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf86c",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 58.741,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9553,
    "c": 0.16014,
    "h": 107.9
  },
  "luminance": 0.88727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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