#FBF866#FBF866

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

Color values

HEX#FBF866
RGBrgb(251, 248, 102)
HSLhsl(59, 95%, 69%)
HSVhsv(59, 59%, 98%)
CMYKcmyk(0%, 1.2%, 59.4%, 1.6%)
CIE-LABlab(95.42, -16.66, 68.53)
CIE-LCHlch(95.42, 70.52, 103.67°)
OKLaboklab(95.47% -0.0511 0.1569)
OKLCHoklch(95.47% 0.165 108)
XYZxyz(75.7517, 88.6056, 25.6800)
Luminance0.8860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF866 #6669FB
analogous
#FBAE66 #FBF866 #B4FB66
triadic
#FBF866 #66FBF8 #F866FB
tetradic
#FBF866 #66FBAE #6669FB #FB66B4
square
#FBF866 #66FBAE #6669FB #FB66B4
split-complementary
#FBF866 #66B4FB #AE66FB
monochromatic
#E1DC06 #F9F52A #FBF866 #FDFBA2 #FEFDDD

Accessibility & contrast

On white

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

On black

18.72
#FBF866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF866
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF866#FFFFFF#000000##000000
##FBF8661.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF55
Deuteranopia (green-blind)
#FFF46F
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf866;
/* rgb */ color: rgb(251, 248, 102);
/* oklch */ color: oklch(95.5% 0.165 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffa97',
    500: '#fbf866',
    950: '#000000',
  },
}
SCSS
$custom: #fbf866;
$custom-light: #fffa97;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf866",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 58.792,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95472,
    "c": 0.16496,
    "h": 108
  },
  "luminance": 0.88603
}

Semantic roles & 50–950 ramp

primary
#FBF866
secondary
#3033D5
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF866

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

Preview Lab → · Contrast checker → · Palette generator →

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