#FBE981#FBE981

#FBE981 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.7% C 0.127 H 99.7°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#FBE981
RGBrgb(251, 233, 129)
HSLhsl(51, 94%, 75%)
HSVhsv(51, 49%, 98%)
CMYKcmyk(0%, 7.2%, 48.6%, 1.6%)
CIE-LABlab(91.85, -7.22, 52.38)
CIE-LCHlch(91.85, 52.87, 97.85°)
OKLaboklab(92.73% -0.0213 0.1248)
OKLCHoklch(92.73% 0.127 99.7)
XYZxyz(72.8871, 80.3746, 32.4391)
Luminance0.8037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE981 #8193FB
analogous
#FBAC81 #FBE981 #D0FB81
triadic
#FBE981 #81FBE9 #E981FB
tetradic
#FBE981 #81FBAC #8193FB #FB81D0
square
#FBE981 #81FBAC #8193FB #FB81D0
split-complementary
#FBE981 #81D0FB #AC81FB
monochromatic
#F7D40A #F9DF46 #FBE981 #FDF3BC #FEFAE1

Accessibility & contrast

On white

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

On black

17.07
#FBE981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE981
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE981#FFFFFF#000000##000000
##FBE9811.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE478
Deuteranopia (green-blind)
#FFEB85
Tritanopia (blue-blind)
#FFDCD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbe981;
/* rgb */ color: rgb(251, 233, 129);
/* oklch */ color: oklch(92.7% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#ffefa8',
    500: '#fbe981',
    950: '#000000',
  },
}
SCSS
$custom: #fbe981;
$custom-light: #ffefa8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe981",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 129
  },
  "hsl": {
    "h": 51.148,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92728,
    "c": 0.12659,
    "h": 99.7
  },
  "luminance": 0.80372
}

Semantic roles & 50–950 ramp

primary
#FBE981
secondary
#475DD9
accent
#22E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #FBE981

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

Preview Lab → · Contrast checker → · Palette generator →

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