#FBE982#FBE982

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

Color values

HEX#FBE982
RGBrgb(251, 233, 130)
HSLhsl(51, 94%, 75%)
HSVhsv(51, 48%, 98%)
CMYKcmyk(0%, 7.2%, 48.2%, 1.6%)
CIE-LABlab(91.86, -7.14, 51.91)
CIE-LCHlch(91.86, 52.40, 97.83°)
OKLaboklab(92.74% -0.0209 0.1239)
OKLCHoklch(92.74% 0.126 99.6)
XYZxyz(72.9539, 80.4013, 32.7909)
Luminance0.8040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE982 #8294FB
analogous
#FBAC82 #FBE982 #D1FB82
triadic
#FBE982 #82FBE9 #E982FB
tetradic
#FBE982 #82FBAC #8294FB #FB82D1
square
#FBE982 #82FBAC #8294FB #FB82D1
split-complementary
#FBE982 #82D1FB #AC82FB
monochromatic
#F7D40B #F9DF47 #FBE982 #FDF3BD #FEFAE1

Accessibility & contrast

On white

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

On black

17.08
#FBE982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE982
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE982#FFFFFF#000000##000000
##FBE9821.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbe982;
/* rgb */ color: rgb(251, 233, 130);
/* oklch */ color: oklch(92.7% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#ffefa8',
    500: '#fbe982',
    950: '#000000',
  },
}
SCSS
$custom: #fbe982;
$custom-light: #ffefa8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe982",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 130
  },
  "hsl": {
    "h": 51.074,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92742,
    "c": 0.12561,
    "h": 99.6
  },
  "luminance": 0.80399
}

Semantic roles & 50–950 ramp

primary
#FBE982
secondary
#485ED9
accent
#22E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FBE982

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

Preview Lab → · Contrast checker → · Palette generator →

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