#FBFA7B#FBFA7B

#FBFA7B is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.1% C 0.149 H 108.5°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FBFA7B
RGBrgb(251, 250, 123)
HSLhsl(60, 94%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0.4%, 51%, 1.6%)
CIE-LABlab(96.13, -16.09, 60.24)
CIE-LCHlch(96.13, 62.35, 104.96°)
OKLaboklab(96.1% -0.0473 0.1414)
OKLCHoklch(96.1% 0.149 108.5)
XYZxyz(77.5463, 90.3125, 32.0822)
Luminance0.9031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA7B #7B7CFB
analogous
#FBBA7B #FBFA7B #BCFB7B
triadic
#FBFA7B #7BFBFA #FA7BFB
tetradic
#FBFA7B #7BFBBA #7B7CFB #FB7BBC
square
#FBFA7B #7BFBBA #7B7CFB #FB7BBC
split-complementary
#FBFA7B #7BBCFB #BA7BFB
monochromatic
#F4F207 #F9F840 #FBFA7B #FDFCB6 #FEFEE1

Accessibility & contrast

On white

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

On black

19.06
#FBFA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA7B
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA7B#FFFFFF#000000##000000
##FBFA7B1.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16F
Deuteranopia (green-blind)
#FFF682
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa7b;
/* rgb */ color: rgb(251, 250, 123);
/* oklch */ color: oklch(96.1% 0.149 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffba4',
    500: '#fbfa7b',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa7b;
$custom-light: #fffba4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa7b",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 59.531,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96102,
    "c": 0.14915,
    "h": 108.5
  },
  "luminance": 0.90311
}

Semantic roles & 50–950 ramp

primary
#FBFA7B
secondary
#4243D8
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBFA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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