#FBF166#FBF166

#FBF166 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.0% C 0.158 H 105.2°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#FBF166
RGBrgb(251, 241, 102)
HSLhsl(56, 95%, 69%)
HSVhsv(56, 59%, 98%)
CMYKcmyk(0%, 4%, 59.4%, 1.6%)
CIE-LABlab(93.62, -13.26, 66.56)
CIE-LCHlch(93.62, 67.87, 101.26°)
OKLaboklab(94.04% -0.0414 0.1527)
OKLCHoklch(94.04% 0.158 105.2)
XYZxyz(73.6397, 84.3816, 24.9760)
Luminance0.8438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF166 #6670FB
analogous
#FBA766 #FBF166 #BBFB66
triadic
#FBF166 #66FBF1 #F166FB
tetradic
#FBF166 #66FBA7 #6670FB #FB66BB
square
#FBF166 #66FBA7 #6670FB #FB66BB
split-complementary
#FBF166 #66BBFB #A766FB
monochromatic
#E1D206 #F9EC2A #FBF166 #FDF6A2 #FEFCDD

Accessibility & contrast

On white

1.17
#FBF166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#FBF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF166
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF166#FFFFFF#000000##000000
##FBF1661.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFF06E
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf166;
/* rgb */ color: rgb(251, 241, 102);
/* oklch */ color: oklch(94.0% 0.158 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff597',
    500: '#fbf166',
    950: '#000000',
  },
}
SCSS
$custom: #fbf166;
$custom-light: #fff597;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf166",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 55.973,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9404,
    "c": 0.1582,
    "h": 105.2
  },
  "luminance": 0.84379
}

Semantic roles & 50–950 ramp

primary
#FBF166
secondary
#303BD5
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF166

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

Preview Lab → · Contrast checker → · Palette generator →

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