#FBE987#FBE987

#FBE987 is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.8% C 0.121 H 99.1°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#FBE987
RGBrgb(251, 233, 135)
HSLhsl(51, 94%, 76%)
HSVhsv(51, 46%, 98%)
CMYKcmyk(0%, 7.2%, 46.2%, 1.6%)
CIE-LABlab(91.93, -6.68, 49.60)
CIE-LCHlch(91.93, 50.05, 97.67°)
OKLaboklab(92.81% -0.0191 0.1191)
OKLCHoklch(92.81% 0.121 99.1)
XYZxyz(73.2977, 80.5389, 34.6015)
Luminance0.8054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE987 #8799FB
analogous
#FBAF87 #FBE987 #D3FB87
triadic
#FBE987 #87FBE9 #E987FB
tetradic
#FBE987 #87FBAF #8799FB #FB87D3
square
#FBE987 #87FBAF #8799FB #FB87D3
split-complementary
#FBE987 #87D3FB #AF87FB
monochromatic
#F7D311 #F9DE4C #FBE987 #FDF4C2 #FEFAE1

Accessibility & contrast

On white

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

On black

17.11
#FBE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE987
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE987#FFFFFF#000000##000000
##FBE9871.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE47F
Deuteranopia (green-blind)
#FFEB8B
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbe987;
/* rgb */ color: rgb(251, 233, 135);
/* oklch */ color: oklch(92.8% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#feefac',
    500: '#fbe987',
    950: '#000000',
  },
}
SCSS
$custom: #fbe987;
$custom-light: #feefac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe987",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 50.69,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.9281,
    "c": 0.12059,
    "h": 99.1
  },
  "luminance": 0.80536
}

Semantic roles & 50–950 ramp

primary
#FBE987
secondary
#4C62DA
accent
#24E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FBE987

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

Preview Lab → · Contrast checker → · Palette generator →

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