#FBE787#FBE787

#FBE787 is a very light, moderate yellow. Relative luminance 0.794; OKLCH L 92.4% C 0.119 H 97.9°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#FBE787
RGBrgb(251, 231, 135)
HSLhsl(50, 94%, 76%)
HSVhsv(50, 46%, 98%)
CMYKcmyk(0%, 8%, 46.2%, 1.6%)
CIE-LABlab(91.42, -5.68, 48.97)
CIE-LCHlch(91.42, 49.30, 96.62°)
OKLaboklab(92.41% -0.0162 0.1177)
OKLCHoklch(92.41% 0.119 97.9)
XYZxyz(72.7348, 79.4129, 34.4139)
Luminance0.7941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE787 #879BFB
analogous
#FBAD87 #FBE787 #D5FB87
triadic
#FBE787 #87FBE7 #E787FB
tetradic
#FBE787 #87FBAD #879BFB #FB87D5
square
#FBE787 #87FBAD #879BFB #FB87D5
split-complementary
#FBE787 #87D5FB #AD87FB
monochromatic
#F7CF11 #F9DB4C #FBE787 #FDF3C2 #FEF9E1

Accessibility & contrast

On white

1.24
#FBE787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.88
#FBE787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE787
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE787#FFFFFF#000000##000000
##FBE7871.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E27F
Deuteranopia (green-blind)
#FEEA8B
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fbe787;
/* rgb */ color: rgb(251, 231, 135);
/* oklch */ color: oklch(92.4% 0.119 97.9);
Tailwind
colors: {
  custom: {
    50: '#feeeab',
    500: '#fbe787',
    950: '#000000',
  },
}
SCSS
$custom: #fbe787;
$custom-light: #feeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe787",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 49.655,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.9241,
    "c": 0.11879,
    "h": 97.9
  },
  "luminance": 0.7941
}

Semantic roles & 50–950 ramp

primary
#FBE787
secondary
#4C65DA
accent
#28E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FBE787

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

Preview Lab → · Contrast checker → · Palette generator →

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