#FBFA7A#FBFA7A

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

Color values

HEX#FBFA7A
RGBrgb(251, 250, 122)
HSLhsl(60, 94%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0.4%, 51.4%, 1.6%)
CIE-LABlab(96.12, -16.17, 60.67)
CIE-LCHlch(96.12, 62.79, 104.93°)
OKLaboklab(96.09% -0.0476 0.1423)
OKLCHoklch(96.09% 0.15 108.5)
XYZxyz(77.4841, 90.2876, 31.7542)
Luminance0.9029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA7A #7A7BFB
analogous
#FBB97A #FBFA7A #BBFB7A
triadic
#FBFA7A #7AFBFA #FA7AFB
tetradic
#FBFA7A #7AFBB9 #7A7BFB #FB7ABB
square
#FBFA7A #7AFBB9 #7A7BFB #FB7ABB
split-complementary
#FBFA7A #7ABBFB #B97AFB
monochromatic
#F3F107 #F9F83F #FBFA7A #FDFCB5 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBFA7A#FFFFFF#000000##000000
##FBFA7A1.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)
#FFF16E
Deuteranopia (green-blind)
#FFF681
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa7a;
/* rgb */ color: rgb(251, 250, 122);
/* oklch */ color: oklch(96.1% 0.150 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffba4',
    500: '#fbfa7a',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa7a;
$custom-light: #fffba4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa7a",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 59.535,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96091,
    "c": 0.15007,
    "h": 108.5
  },
  "luminance": 0.90286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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