#FBF978#FBF978

#FBF978 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.9% C 0.151 H 108.1°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FBF978
RGBrgb(251, 249, 120)
HSLhsl(59, 94%, 73%)
HSVhsv(59, 52%, 98%)
CMYKcmyk(0%, 0.8%, 52.2%, 1.6%)
CIE-LABlab(95.84, -15.85, 61.25)
CIE-LCHlch(95.84, 63.26, 104.51°)
OKLaboklab(95.86% -0.0469 0.1433)
OKLCHoklch(95.86% 0.151 108.1)
XYZxyz(77.0515, 89.6187, 31.0049)
Luminance0.8962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF978 #787AFB
analogous
#FBB778 #FBF978 #BBFB78
triadic
#FBF978 #78FBF9 #F978FB
tetradic
#FBF978 #78FBB7 #787AFB #FB78BB
square
#FBF978 #78FBB7 #787AFB #FB78BB
split-complementary
#FBF978 #78BBFB #B778FB
monochromatic
#F1EE07 #F9F63D #FBF978 #FDFCB3 #FEFEE1

Accessibility & contrast

On white

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

On black

18.92
#FBF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF978
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF978#FFFFFF#000000##000000
##FBF9781.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf978;
/* rgb */ color: rgb(251, 249, 120);
/* oklch */ color: oklch(95.9% 0.151 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffba2',
    500: '#fbf978',
    950: '#000000',
  },
}
SCSS
$custom: #fbf978;
$custom-light: #fffba2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf978",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 59.084,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95863,
    "c": 0.15082,
    "h": 108.1
  },
  "luminance": 0.89617
}

Semantic roles & 50–950 ramp

primary
#FBF978
secondary
#3F42D8
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF978

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

Preview Lab → · Contrast checker → · Palette generator →

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