#FBF178#FBF178

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

Color values

HEX#FBF178
RGBrgb(251, 241, 120)
HSLhsl(55, 94%, 73%)
HSVhsv(55, 52%, 98%)
CMYKcmyk(0%, 4%, 52.2%, 1.6%)
CIE-LABlab(93.79, -11.94, 58.86)
CIE-LCHlch(93.79, 60.06, 101.47°)
OKLaboklab(94.23% -0.0358 0.1382)
OKLCHoklch(94.23% 0.143 104.5)
XYZxyz(74.6313, 84.7782, 30.1982)
Luminance0.8478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF178 #7882FB
analogous
#FBB078 #FBF178 #C3FB78
triadic
#FBF178 #78FBF1 #F178FB
tetradic
#FBF178 #78FBB0 #7882FB #FB78C3
square
#FBF178 #78FBB0 #7882FB #FB78C3
split-complementary
#FBF178 #78C3FB #B078FB
monochromatic
#F1E007 #F9EB3D #FBF178 #FDF7B3 #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF178#FFFFFF#000000##000000
##FBF1781.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)
#FFEA6D
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf178;
/* rgb */ color: rgb(251, 241, 120);
/* oklch */ color: oklch(94.2% 0.143 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff5a2',
    500: '#fbf178',
    950: '#000000',
  },
}
SCSS
$custom: #fbf178;
$custom-light: #fff5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf178",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 55.42,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94231,
    "c": 0.14273,
    "h": 104.5
  },
  "luminance": 0.84776
}

Semantic roles & 50–950 ramp

primary
#FBF178
secondary
#3F4BD8
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF178

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

Preview Lab → · Contrast checker → · Palette generator →

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