#FBD866#FBD866

#FBD866 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.138 H 92.3°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#FBD866
RGBrgb(251, 216, 102)
HSLhsl(46, 95%, 69%)
HSVhsv(46, 59%, 98%)
CMYKcmyk(0%, 13.9%, 59.4%, 1.6%)
CIE-LABlab(87.28, -0.77, 59.52)
CIE-LCHlch(87.28, 59.53, 90.74°)
OKLaboklab(89.02% -0.0056 0.1377)
OKLCHoklch(89.02% 0.138 92.3)
XYZxyz(66.7408, 70.5837, 22.6764)
Luminance0.7058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD866 #6689FB
analogous
#FB8E66 #FBD866 #D4FB66
triadic
#FBD866 #66FBD8 #D866FB
tetradic
#FBD866 #66FB8E #6689FB #FB66D4
square
#FBD866 #66FB8E #6689FB #FB66D4
split-complementary
#FBD866 #66D4FB #8E66FB
monochromatic
#E1AD06 #F9C92A #FBD866 #FDE7A2 #FEF6DD

Accessibility & contrast

On white

1.39
#FBD866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#FBD866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD866
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD866#FFFFFF#000000##000000
##FBD8661.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD55A
Deuteranopia (green-blind)
#F5DF6B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fbd866;
/* rgb */ color: rgb(251, 216, 102);
/* oklch */ color: oklch(89.0% 0.138 92.3);
Tailwind
colors: {
  custom: {
    50: '#ffe395',
    500: '#fbd866',
    950: '#000000',
  },
}
SCSS
$custom: #fbd866;
$custom-light: #ffe395;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd866",
  "rgb": {
    "r": 251,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 45.906,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89019,
    "c": 0.13776,
    "h": 92.3
  },
  "luminance": 0.7058
}

Semantic roles & 50–950 ramp

primary
#FBD866
secondary
#3057D5
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD866

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

Preview Lab → · Contrast checker → · Palette generator →

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