#FBF766#FBF766

#FBF766 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.3% C 0.164 H 107.7°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#FBF766
RGBrgb(251, 247, 102)
HSLhsl(58, 95%, 69%)
HSVhsv(58, 59%, 98%)
CMYKcmyk(0%, 1.6%, 59.4%, 1.6%)
CIE-LABlab(95.16, -16.18, 68.25)
CIE-LCHlch(95.16, 70.14, 103.34°)
OKLaboklab(95.27% -0.0497 0.1563)
OKLCHoklch(95.27% 0.164 107.7)
XYZxyz(75.4451, 87.9923, 25.5778)
Luminance0.8799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF766 #666AFB
analogous
#FBAD66 #FBF766 #B5FB66
triadic
#FBF766 #66FBF7 #F766FB
tetradic
#FBF766 #66FBAD #666AFB #FB66B5
square
#FBF766 #66FBAD #666AFB #FB66B5
split-complementary
#FBF766 #66B5FB #AD66FB
monochromatic
#E1DB06 #F9F42A #FBF766 #FDFAA2 #FEFDDD

Accessibility & contrast

On white

1.13
#FBF766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#FBF766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF766
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF766#FFFFFF#000000##000000
##FBF7661.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE55
Deuteranopia (green-blind)
#FFF46E
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf766;
/* rgb */ color: rgb(251, 247, 102);
/* oklch */ color: oklch(95.3% 0.164 107.7);
Tailwind
colors: {
  custom: {
    50: '#fff997',
    500: '#fbf766',
    950: '#000000',
  },
}
SCSS
$custom: #fbf766;
$custom-light: #fff997;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf766",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 58.389,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95267,
    "c": 0.16397,
    "h": 107.7
  },
  "luminance": 0.8799
}

Semantic roles & 50–950 ramp

primary
#FBF766
secondary
#3034D5
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF766

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

Preview Lab → · Contrast checker → · Palette generator →

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