#FBF982#FBF982

#FBF982 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.142 H 107.9°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FBF982
RGBrgb(251, 249, 130)
HSLhsl(59, 94%, 75%)
HSVhsv(59, 48%, 98%)
CMYKcmyk(0%, 0.8%, 48.2%, 1.6%)
CIE-LABlab(95.94, -15.02, 56.83)
CIE-LCHlch(95.94, 58.78, 104.81°)
OKLaboklab(95.98% -0.0436 0.1347)
OKLCHoklch(95.98% 0.142 107.9)
XYZxyz(77.6904, 89.8742, 34.3697)
Luminance0.8987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF982 #8284FB
analogous
#FBBC82 #FBF982 #C1FB82
triadic
#FBF982 #82FBF9 #F982FB
tetradic
#FBF982 #82FBBC #8284FB #FB82C1
square
#FBF982 #82FBBC #8284FB #FB82C1
split-complementary
#FBF982 #82C1FB #BC82FB
monochromatic
#F7F30B #F9F647 #FBF982 #FDFCBD #FEFEE1

Accessibility & contrast

On white

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

On black

18.97
#FBF982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF982
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF982#FFFFFF#000000##000000
##FBF9821.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF177
Deuteranopia (green-blind)
#FFF688
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf982;
/* rgb */ color: rgb(251, 249, 130);
/* oklch */ color: oklch(96.0% 0.142 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffba9',
    500: '#fbf982',
    950: '#000000',
  },
}
SCSS
$custom: #fbf982;
$custom-light: #fffba9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf982",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 130
  },
  "hsl": {
    "h": 59.008,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.95982,
    "c": 0.14152,
    "h": 107.9
  },
  "luminance": 0.89872
}

Semantic roles & 50–950 ramp

primary
#FBF982
secondary
#484BD9
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF982

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

Preview Lab → · Contrast checker → · Palette generator →

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