#FBFA87#FBFA87

#FBFA87 is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.3% C 0.138 H 108.3°. Best body text is #000000 at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#FBFA87
RGBrgb(251, 250, 135)
HSLhsl(59, 94%, 76%)
HSVhsv(59, 46%, 98%)
CMYKcmyk(0%, 0.4%, 46.2%, 1.6%)
CIE-LABlab(96.26, -15.07, 54.89)
CIE-LCHlch(96.26, 56.92, 105.35°)
OKLaboklab(96.25% -0.0432 0.1308)
OKLCHoklch(96.25% 0.138 108.3)
XYZxyz(78.3441, 90.6316, 36.2836)
Luminance0.9063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA87 #8788FB
analogous
#FBC087 #FBFA87 #C2FB87
triadic
#FBFA87 #87FBFA #FA87FB
tetradic
#FBFA87 #87FBC0 #8788FB #FB87C2
square
#FBFA87 #87FBC0 #8788FB #FB87C2
split-complementary
#FBFA87 #87C2FB #C087FB
monochromatic
#F7F511 #F9F84C #FBFA87 #FDFCC2 #FEFEE1

Accessibility & contrast

On white

1.10
#FBFA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.13
#FBFA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA87
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA87#FFFFFF#000000##000000
##FBFA871.001.1019.1319.13
#FFFFFF1.101.0021.0021.00
#00000019.1321.001.001.00
##00000019.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF27D
Deuteranopia (green-blind)
#FFF68D
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa87;
/* rgb */ color: rgb(251, 250, 135);
/* oklch */ color: oklch(96.3% 0.138 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffbac',
    500: '#fbfa87',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa87;
$custom-light: #fffbac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa87",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 59.483,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.9625,
    "c": 0.13775,
    "h": 108.3
  },
  "luminance": 0.9063
}

Semantic roles & 50–950 ramp

primary
#FBFA87
secondary
#4C4EDA
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBFA87

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

Preview Lab → · Contrast checker → · Palette generator →

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