#FBF176#FBF176

#FBF176 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.2% C 0.145 H 104.6°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#FBF176
RGBrgb(251, 241, 118)
HSLhsl(55, 94%, 72%)
HSVhsv(55, 53%, 98%)
CMYKcmyk(0%, 4%, 53%, 1.6%)
CIE-LABlab(93.77, -12.10, 59.74)
CIE-LCHlch(93.77, 60.96, 101.45°)
OKLaboklab(94.21% -0.0364 0.1399)
OKLCHoklch(94.21% 0.145 104.6)
XYZxyz(74.5112, 84.7302, 29.5656)
Luminance0.8473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF176 #7680FB
analogous
#FBAF76 #FBF176 #C2FB76
triadic
#FBF176 #76FBF1 #F176FB
tetradic
#FBF176 #76FBAF #7680FB #FB76C2
square
#FBF176 #76FBAF #7680FB #FB76C2
split-complementary
#FBF176 #76C2FB #AF76FB
monochromatic
#F0DE07 #F9EB3B #FBF176 #FDF7B1 #FEFCE1

Accessibility & contrast

On white

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

On black

17.95
#FBF176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF176
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF176#FFFFFF#000000##000000
##FBF1761.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6A
Deuteranopia (green-blind)
#FFF07C
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf176;
/* rgb */ color: rgb(251, 241, 118);
/* oklch */ color: oklch(94.2% 0.145 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff5a1',
    500: '#fbf176',
    950: '#000000',
  },
}
SCSS
$custom: #fbf176;
$custom-light: #fff5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf176",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 118
  },
  "hsl": {
    "h": 55.489,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94208,
    "c": 0.14456,
    "h": 104.6
  },
  "luminance": 0.84728
}

Semantic roles & 50–950 ramp

primary
#FBF176
secondary
#3E49D7
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF176

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

Preview Lab → · Contrast checker → · Palette generator →

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