#FBF179#FBF179

#FBF179 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.142 H 104.5°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#FBF179
RGBrgb(251, 241, 121)
HSLhsl(55, 94%, 73%)
HSVhsv(55, 52%, 98%)
CMYKcmyk(0%, 4%, 51.8%, 1.6%)
CIE-LABlab(93.80, -11.86, 58.42)
CIE-LCHlch(93.80, 59.61, 101.48°)
OKLaboklab(94.24% -0.0354 0.1373)
OKLCHoklch(94.24% 0.142 104.5)
XYZxyz(74.6923, 84.8026, 30.5195)
Luminance0.8480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF179 #7983FB
analogous
#FBB079 #FBF179 #C4FB79
triadic
#FBF179 #79FBF1 #F179FB
tetradic
#FBF179 #79FBB0 #7983FB #FB79C4
square
#FBF179 #79FBB0 #7983FB #FB79C4
split-complementary
#FBF179 #79C4FB #B079FB
monochromatic
#F2E007 #F9EB3E #FBF179 #FDF7B4 #FEFCE1

Accessibility & contrast

On white

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

On black

17.96
#FBF179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF179
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF179#FFFFFF#000000##000000
##FBF1791.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6E
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf179;
/* rgb */ color: rgb(251, 241, 121);
/* oklch */ color: oklch(94.2% 0.142 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff5a3',
    500: '#fbf179',
    950: '#000000',
  },
}
SCSS
$custom: #fbf179;
$custom-light: #fff5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf179",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 121
  },
  "hsl": {
    "h": 55.385,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94243,
    "c": 0.14182,
    "h": 104.5
  },
  "luminance": 0.848
}

Semantic roles & 50–950 ramp

primary
#FBF179
secondary
#404CD8
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF179

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

Preview Lab → · Contrast checker → · Palette generator →

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