#FBFC87#FBFC87

#FBFC87 is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.7% C 0.140 H 109.2°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#FBFC87
RGBrgb(251, 252, 135)
HSLhsl(61, 95%, 76%)
HSVhsv(61, 46%, 99%)
CMYKcmyk(0.4%, 0%, 46.4%, 1.2%)
CIE-LABlab(96.77, -16.04, 55.51)
CIE-LCHlch(96.77, 57.78, 106.11°)
OKLaboklab(96.66% -0.046 0.1322)
OKLCHoklch(96.66% 0.14 109.2)
XYZxyz(78.9688, 91.8811, 36.4919)
Luminance0.9188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFC87 #8887FC
analogous
#FCC287 #FBFC87 #C0FC87
triadic
#FBFC87 #87FBFC #FC87FB
tetradic
#FBFC87 #87FCC2 #8887FC #FC87C0
square
#FBFC87 #87FCC2 #8887FC #FC87C0
split-complementary
#FBFC87 #87C0FC #C287FC
monochromatic
#F7F910 #F9FB4B #FBFC87 #FDFDC3 #FEFEE1

Accessibility & contrast

On white

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

On black

19.38
#FBFC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFC87
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFC87#FFFFFF#000000##000000
##FBFC871.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbfc87;
/* rgb */ color: rgb(251, 252, 135);
/* oklch */ color: oklch(96.7% 0.140 109.2);
Tailwind
colors: {
  custom: {
    50: '#fffdac',
    500: '#fbfc87',
    950: '#000000',
  },
}
SCSS
$custom: #fbfc87;
$custom-light: #fffdac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfc87",
  "rgb": {
    "r": 251,
    "g": 252,
    "b": 135
  },
  "hsl": {
    "h": 60.513,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.96659,
    "c": 0.13992,
    "h": 109.2
  },
  "luminance": 0.91879
}

Semantic roles & 50–950 ramp

primary
#FBFC87
secondary
#4D4CDB
accent
#00E602
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBFC87

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

Preview Lab → · Contrast checker → · Palette generator →

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