#FBE978#FBE978

#FBE978 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.6% C 0.135 H 100.4°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#FBE978
RGBrgb(251, 233, 120)
HSLhsl(52, 94%, 73%)
HSVhsv(52, 52%, 98%)
CMYKcmyk(0%, 7.2%, 52.2%, 1.6%)
CIE-LABlab(91.75, -7.98, 56.47)
CIE-LCHlch(91.75, 57.03, 98.05°)
OKLaboklab(92.61% -0.0244 0.133)
OKLCHoklch(92.61% 0.135 100.4)
XYZxyz(72.3151, 80.1458, 29.4261)
Luminance0.8014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE978 #788AFB
analogous
#FBA878 #FBE978 #CBFB78
triadic
#FBE978 #78FBE9 #E978FB
tetradic
#FBE978 #78FBA8 #788AFB #FB78CB
square
#FBE978 #78FBA8 #788AFB #FB78CB
split-complementary
#FBE978 #78CBFB #A878FB
monochromatic
#F1D107 #F9DF3D #FBE978 #FDF3B3 #FEFAE1

Accessibility & contrast

On white

1.23
#FBE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#FBE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE978
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE978#FFFFFF#000000##000000
##FBE9781.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36E
Deuteranopia (green-blind)
#FFEB7D
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe978;
/* rgb */ color: rgb(251, 233, 120);
/* oklch */ color: oklch(92.6% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#ffefa2',
    500: '#fbe978',
    950: '#000000',
  },
}
SCSS
$custom: #fbe978;
$custom-light: #ffefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe978",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 51.756,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92614,
    "c": 0.13521,
    "h": 100.4
  },
  "luminance": 0.80143
}

Semantic roles & 50–950 ramp

primary
#FBE978
secondary
#3F54D8
accent
#20E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE978

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

Preview Lab → · Contrast checker → · Palette generator →

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