#FBF966#FBF966

#FBF966 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.7% C 0.166 H 108.4°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#FBF966
RGBrgb(251, 249, 102)
HSLhsl(59, 95%, 69%)
HSVhsv(59, 59%, 98%)
CMYKcmyk(0%, 0.8%, 59.4%, 1.6%)
CIE-LABlab(95.67, -17.15, 68.81)
CIE-LCHlch(95.67, 70.91, 103.99°)
OKLaboklab(95.68% -0.0525 0.1574)
OKLCHoklch(95.68% 0.166 108.4)
XYZxyz(76.0600, 89.2221, 25.7828)
Luminance0.8922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF966 #6668FB
analogous
#FBAF66 #FBF966 #B2FB66
triadic
#FBF966 #66FBF9 #F966FB
tetradic
#FBF966 #66FBAF #6668FB #FB66B2
square
#FBF966 #66FBAF #6668FB #FB66B2
split-complementary
#FBF966 #66B2FB #AF66FB
monochromatic
#E1DE06 #F9F72A #FBF966 #FDFBA2 #FEFEDD

Accessibility & contrast

On white

1.11
#FBF966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#FBF966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF966
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF966#FFFFFF#000000##000000
##FBF9661.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF055
Deuteranopia (green-blind)
#FFF56F
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf966;
/* rgb */ color: rgb(251, 249, 102);
/* oklch */ color: oklch(95.7% 0.166 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffb97',
    500: '#fbf966',
    950: '#000000',
  },
}
SCSS
$custom: #fbf966;
$custom-light: #fffb97;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf966",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 102
  },
  "hsl": {
    "h": 59.195,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95678,
    "c": 0.16595,
    "h": 108.4
  },
  "luminance": 0.8922
}

Semantic roles & 50–950 ramp

primary
#FBF966
secondary
#3032D5
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF966

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

Preview Lab → · Contrast checker → · Palette generator →

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