#FBF078#FBF078

#FBF078 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.142 H 104.0°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#FBF078
RGBrgb(251, 240, 120)
HSLhsl(55, 94%, 73%)
HSVhsv(55, 52%, 98%)
CMYKcmyk(0%, 4.4%, 52.2%, 1.6%)
CIE-LABlab(93.53, -11.45, 58.56)
CIE-LCHlch(93.53, 59.67, 101.06°)
OKLaboklab(94.03% -0.0344 0.1375)
OKLCHoklch(94.03% 0.142 104)
XYZxyz(74.3361, 84.1879, 30.0998)
Luminance0.8418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF078 #7883FB
analogous
#FBAF78 #FBF078 #C4FB78
triadic
#FBF078 #78FBF0 #F078FB
tetradic
#FBF078 #78FBAF #7883FB #FB78C4
square
#FBF078 #78FBAF #7883FB #FB78C4
split-complementary
#FBF078 #78C4FB #AF78FB
monochromatic
#F1DE07 #F9E93D #FBF078 #FDF7B3 #FEFCE1

Accessibility & contrast

On white

1.18
#FBF078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#FBF078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF078
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF078#FFFFFF#000000##000000
##FBF0781.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96D
Deuteranopia (green-blind)
#FFEF7E
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbf078;
/* rgb */ color: rgb(251, 240, 120);
/* oklch */ color: oklch(94.0% 0.142 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff4a2',
    500: '#fbf078',
    950: '#000000',
  },
}
SCSS
$custom: #fbf078;
$custom-light: #fff4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf078",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 54.962,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94028,
    "c": 0.14176,
    "h": 104
  },
  "luminance": 0.84185
}

Semantic roles & 50–950 ramp

primary
#FBF078
secondary
#3F4CD8
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF078

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

Preview Lab → · Contrast checker → · Palette generator →

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