#FBE87A#FBE87A

#FBE87A is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.4% C 0.132 H 99.7°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#FBE87A
RGBrgb(251, 232, 122)
HSLhsl(51, 94%, 73%)
HSVhsv(51, 51%, 98%)
CMYKcmyk(0%, 7.6%, 51.4%, 1.6%)
CIE-LABlab(91.52, -7.32, 55.27)
CIE-LCHlch(91.52, 55.75, 97.55°)
OKLaboklab(92.44% -0.0223 0.1306)
OKLCHoklch(92.44% 0.132 99.7)
XYZxyz(72.1554, 79.6303, 29.9780)
Luminance0.7963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE87A #7A8DFB
analogous
#FBA77A #FBE87A #CDFB7A
triadic
#FBE87A #7AFBE8 #E87AFB
tetradic
#FBE87A #7AFBA7 #7A8DFB #FB7ACD
square
#FBE87A #7AFBA7 #7A8DFB #FB7ACD
split-complementary
#FBE87A #7ACDFB #A77AFB
monochromatic
#F3D107 #F9DE3F #FBE87A #FDF2B5 #FEFAE1

Accessibility & contrast

On white

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

On black

16.93
#FBE87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE87A
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE87A#FFFFFF#000000##000000
##FBE87A1.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE270
Deuteranopia (green-blind)
#FFEA7F
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe87a;
/* rgb */ color: rgb(251, 232, 122);
/* oklch */ color: oklch(92.4% 0.132 99.7);
Tailwind
colors: {
  custom: {
    50: '#ffefa3',
    500: '#fbe87a',
    950: '#000000',
  },
}
SCSS
$custom: #fbe87a;
$custom-light: #ffefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe87a",
  "rgb": {
    "r": 251,
    "g": 232,
    "b": 122
  },
  "hsl": {
    "h": 51.163,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92438,
    "c": 0.13244,
    "h": 99.7
  },
  "luminance": 0.79628
}

Semantic roles & 50–950 ramp

primary
#FBE87A
secondary
#4157D8
accent
#22E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE87A

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

Preview Lab → · Contrast checker → · Palette generator →

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