#FBF666#FBF666

#FBF666 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.1% C 0.163 H 107.3°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FBF666
RGBrgb(251, 246, 102)
HSLhsl(58, 95%, 69%)
HSVhsv(58, 59%, 98%)
CMYKcmyk(0%, 2%, 59.4%, 1.6%)
CIE-LABlab(94.90, -15.69, 67.97)
CIE-LCHlch(94.90, 69.75, 103.00°)
OKLaboklab(95.06% -0.0483 0.1557)
OKLCHoklch(95.06% 0.163 107.3)
XYZxyz(75.1401, 87.3824, 25.4762)
Luminance0.8738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF666 #666BFB
analogous
#FBAC66 #FBF666 #B5FB66
triadic
#FBF666 #66FBF6 #F666FB
tetradic
#FBF666 #66FBAC #666BFB #FB66B5
square
#FBF666 #66FBAC #666BFB #FB66B5
split-complementary
#FBF666 #66B5FB #AC66FB
monochromatic
#E1D906 #F9F22A #FBF666 #FDFAA2 #FEFDDD

Accessibility & contrast

On white

1.14
#FBF666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#FBF666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF666
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF666#FFFFFF#000000##000000
##FBF6661.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF36E
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf666;
/* rgb */ color: rgb(251, 246, 102);
/* oklch */ color: oklch(95.1% 0.163 107.3);
Tailwind
colors: {
  custom: {
    50: '#fff897',
    500: '#fbf666',
    950: '#000000',
  },
}
SCSS
$custom: #fbf666;
$custom-light: #fff897;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf666",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 57.987,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95062,
    "c": 0.16299,
    "h": 107.3
  },
  "luminance": 0.8738
}

Semantic roles & 50–950 ramp

primary
#FBF666
secondary
#3036D5
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF666

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

Preview Lab → · Contrast checker → · Palette generator →

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