#FBF976#FBF976

#FBF976 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.153 H 108.2°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#FBF976
RGBrgb(251, 249, 118)
HSLhsl(59, 94%, 72%)
HSVhsv(59, 53%, 98%)
CMYKcmyk(0%, 0.8%, 53%, 1.6%)
CIE-LABlab(95.82, -16.01, 62.11)
CIE-LCHlch(95.82, 64.14, 104.45°)
OKLaboklab(95.84% -0.0476 0.145)
OKLCHoklch(95.84% 0.153 108.2)
XYZxyz(76.9314, 89.5707, 30.3724)
Luminance0.8957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF976 #7678FB
analogous
#FBB776 #FBF976 #BAFB76
triadic
#FBF976 #76FBF9 #F976FB
tetradic
#FBF976 #76FBB7 #7678FB #FB76BA
square
#FBF976 #76FBB7 #7678FB #FB76BA
split-complementary
#FBF976 #76BAFB #B776FB
monochromatic
#F0EC07 #F9F63B #FBF976 #FDFCB1 #FEFEE1

Accessibility & contrast

On white

1.11
#FBF976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.91
#FBF976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF976
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF976#FFFFFF#000000##000000
##FBF9761.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF069
Deuteranopia (green-blind)
#FFF57D
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf976;
/* rgb */ color: rgb(251, 249, 118);
/* oklch */ color: oklch(95.8% 0.153 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffba1',
    500: '#fbf976',
    950: '#000000',
  },
}
SCSS
$custom: #fbf976;
$custom-light: #fffba1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf976",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 59.098,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9584,
    "c": 0.1526,
    "h": 108.2
  },
  "luminance": 0.89569
}

Semantic roles & 50–950 ramp

primary
#FBF976
secondary
#3E40D7
accent
#03E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF976

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

Preview Lab → · Contrast checker → · Palette generator →

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