#FBFD87#FBFD87

#FBFD87 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.9% C 0.141 H 109.6°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#FBFD87
RGBrgb(251, 253, 135)
HSLhsl(61, 97%, 76%)
HSVhsv(61, 47%, 99%)
CMYKcmyk(0.8%, 0%, 46.6%, 0.8%)
CIE-LABlab(97.03, -16.52, 55.82)
CIE-LCHlch(97.03, 58.21, 106.49°)
OKLaboklab(96.86% -0.0474 0.1328)
OKLCHoklch(96.86% 0.141 109.6)
XYZxyz(79.2837, 92.5108, 36.5968)
Luminance0.9251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFD87 #8987FD
analogous
#FDC487 #FBFD87 #C0FD87
triadic
#FBFD87 #87FBFD #FD87FB
tetradic
#FBFD87 #87FDC4 #8987FD #FD87C0
square
#FBFD87 #87FDC4 #8987FD #FD87C0
split-complementary
#FBFD87 #87C0FD #C487FD
monochromatic
#F7FB0F #F9FC4B #FBFD87 #FDFEC3 #FEFEE1

Accessibility & contrast

On white

1.08
#FBFD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.50
#FBFD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFD87
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFD87#FFFFFF#000000##000000
##FBFD871.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF47D
Deuteranopia (green-blind)
#FFF88D
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbfd87;
/* rgb */ color: rgb(251, 253, 135);
/* oklch */ color: oklch(96.9% 0.141 109.6);
Tailwind
colors: {
  custom: {
    50: '#fffdac',
    500: '#fbfd87',
    950: '#000000',
  },
}
SCSS
$custom: #fbfd87;
$custom-light: #fffdac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfd87",
  "rgb": {
    "r": 251,
    "g": 253,
    "b": 135
  },
  "hsl": {
    "h": 61.017,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.96863,
    "c": 0.14104,
    "h": 109.6
  },
  "luminance": 0.92509
}

Semantic roles & 50–950 ramp

primary
#FBFD87
secondary
#4E4CDC
accent
#00E604
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBFD87

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

Preview Lab → · Contrast checker → · Palette generator →

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