#FBE980#FBE980

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

Color values

HEX#FBE980
RGBrgb(251, 233, 128)
HSLhsl(51, 94%, 74%)
HSVhsv(51, 49%, 98%)
CMYKcmyk(0%, 7.2%, 49%, 1.6%)
CIE-LABlab(91.84, -7.31, 52.84)
CIE-LCHlch(91.84, 53.34, 97.88°)
OKLaboklab(92.72% -0.0216 0.1257)
OKLCHoklch(92.72% 0.128 99.8)
XYZxyz(72.8210, 80.3482, 32.0907)
Luminance0.8035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE980 #8092FB
analogous
#FBAC80 #FBE980 #CFFB80
triadic
#FBE980 #80FBE9 #E980FB
tetradic
#FBE980 #80FBAC #8092FB #FB80CF
square
#FBE980 #80FBAC #8092FB #FB80CF
split-complementary
#FBE980 #80CFFB #AC80FB
monochromatic
#F7D409 #F9DF45 #FBE980 #FDF3BB #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBE980#FFFFFF#000000##000000
##FBE9801.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)
#FBE477
Deuteranopia (green-blind)
#FFEB85
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbe980;
/* rgb */ color: rgb(251, 233, 128);
/* oklch */ color: oklch(92.7% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#ffefa7',
    500: '#fbe980',
    950: '#000000',
  },
}
SCSS
$custom: #fbe980;
$custom-light: #ffefa7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe980",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 128
  },
  "hsl": {
    "h": 51.22,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92715,
    "c": 0.12757,
    "h": 99.8
  },
  "luminance": 0.80346
}

Semantic roles & 50–950 ramp

primary
#FBE980
secondary
#465CD9
accent
#22E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #FBE980

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

Preview Lab → · Contrast checker → · Palette generator →

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