#FBFB7D#FBFB7D

#FBFB7D is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.3% C 0.148 H 108.9°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#FBFB7D
RGBrgb(251, 251, 125)
HSLhsl(60, 94%, 74%)
HSVhsv(60, 50%, 98%)
CMYKcmyk(0%, 0%, 50.2%, 1.6%)
CIE-LABlab(96.40, -16.41, 59.66)
CIE-LCHlch(96.40, 61.88, 105.38°)
OKLaboklab(96.33% -0.048 0.1404)
OKLCHoklch(96.33% 0.148 108.9)
XYZxyz(77.9844, 90.9862, 32.8521)
Luminance0.9098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB7D #7D7DFB
analogous
#FBBC7D #FBFB7D #BCFB7D
triadic
#FBFB7D #7DFBFB #FB7DFB
tetradic
#FBFB7D #7DFBBC #7D7DFB #FB7DBC
square
#FBFB7D #7DFBBC #7D7DFB #FB7DBC
split-complementary
#FBFB7D #7DBCFB #BC7DFB
monochromatic
#F6F608 #F9F942 #FBFB7D #FDFDB8 #FEFEE1

Accessibility & contrast

On white

1.09
#FBFB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.20
#FBFB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB7D
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB7D#FFFFFF#000000##000000
##FBFB7D1.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF271
Deuteranopia (green-blind)
#FFF783
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfb7d;
/* rgb */ color: rgb(251, 251, 125);
/* oklch */ color: oklch(96.3% 0.148 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffca6',
    500: '#fbfb7d',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb7d;
$custom-light: #fffca6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb7d",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9633,
    "c": 0.14837,
    "h": 108.9
  },
  "luminance": 0.90984
}

Semantic roles & 50–950 ramp

primary
#FBFB7D
secondary
#4444D8
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBFB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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