#FBD966#FBD966

#FBD966 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.2% C 0.138 H 92.9°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#FBD966
RGBrgb(251, 217, 102)
HSLhsl(46, 95%, 69%)
HSVhsv(46, 59%, 98%)
CMYKcmyk(0%, 13.5%, 59.4%, 1.6%)
CIE-LABlab(87.53, -1.28, 59.81)
CIE-LCHlch(87.53, 59.82, 91.22°)
OKLaboklab(89.22% -0.0071 0.1383)
OKLCHoklch(89.22% 0.138 92.9)
XYZxyz(66.9977, 71.0976, 22.7620)
Luminance0.7109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD966 #6688FB
analogous
#FB8F66 #FBD966 #D2FB66
triadic
#FBD966 #66FBD9 #D966FB
tetradic
#FBD966 #66FB8F #6688FB #FB66D2
square
#FBD966 #66FB8F #6688FB #FB66D2
split-complementary
#FBD966 #66D2FB #8F66FB
monochromatic
#E1AF06 #F9CA2A #FBD966 #FDE8A2 #FEF7DD

Accessibility & contrast

On white

1.38
#FBD966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#FBD966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD966
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD966#FFFFFF#000000##000000
##FBD9661.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD65A
Deuteranopia (green-blind)
#F6E06B
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fbd966;
/* rgb */ color: rgb(251, 217, 102);
/* oklch */ color: oklch(89.2% 0.138 92.9);
Tailwind
colors: {
  custom: {
    50: '#ffe495',
    500: '#fbd966',
    950: '#000000',
  },
}
SCSS
$custom: #fbd966;
$custom-light: #ffe495;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd966",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 46.309,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89217,
    "c": 0.13844,
    "h": 92.9
  },
  "luminance": 0.71094
}

Semantic roles & 50–950 ramp

primary
#FBD966
secondary
#3056D5
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD966

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

Preview Lab → · Contrast checker → · Palette generator →

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