#FBFA7E#FBFA7E

#FBFA7E is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.146 H 108.4°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#FBFA7E
RGBrgb(251, 250, 126)
HSLhsl(60, 94%, 74%)
HSVhsv(60, 50%, 98%)
CMYKcmyk(0%, 0.4%, 49.8%, 1.6%)
CIE-LABlab(96.16, -15.85, 58.92)
CIE-LCHlch(96.16, 61.01, 105.06°)
OKLaboklab(96.14% -0.0463 0.1389)
OKLCHoklch(96.14% 0.146 108.4)
XYZxyz(77.7370, 90.3887, 33.0864)
Luminance0.9039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA7E #7E7FFB
analogous
#FBBC7E #FBFA7E #BEFB7E
triadic
#FBFA7E #7EFBFA #FA7EFB
tetradic
#FBFA7E #7EFBBC #7E7FFB #FB7EBE
square
#FBFA7E #7EFBBC #7E7FFB #FB7EBE
split-complementary
#FBFA7E #7EBEFB #BC7EFB
monochromatic
#F7F508 #F9F843 #FBFA7E #FDFCB9 #FEFEE1

Accessibility & contrast

On white

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

On black

19.08
#FBFA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA7E
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA7E#FFFFFF#000000##000000
##FBFA7E1.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF172
Deuteranopia (green-blind)
#FFF684
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa7e;
/* rgb */ color: rgb(251, 250, 126);
/* oklch */ color: oklch(96.1% 0.146 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fbfa7e',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa7e;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa7e",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 126
  },
  "hsl": {
    "h": 59.52,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.96137,
    "c": 0.14638,
    "h": 108.4
  },
  "luminance": 0.90387
}

Semantic roles & 50–950 ramp

primary
#FBFA7E
secondary
#4546D9
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBFA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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