#FBFA8F#FBFA8F

#FBFA8F is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.4% C 0.130 H 108.1°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#FBFA8F
RGBrgb(251, 250, 143)
HSLhsl(59, 93%, 77%)
HSVhsv(59, 43%, 98%)
CMYKcmyk(0%, 0.4%, 43%, 1.6%)
CIE-LABlab(96.35, -14.32, 51.24)
CIE-LCHlch(96.35, 53.20, 105.61°)
OKLaboklab(96.36% -0.0404 0.1233)
OKLCHoklch(96.36% 0.13 108.1)
XYZxyz(78.9286, 90.8654, 39.3622)
Luminance0.9086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA8F #8F90FB
analogous
#FBC48F #FBFA8F #C6FB8F
triadic
#FBFA8F #8FFBFA #FA8FFB
tetradic
#FBFA8F #8FFBC4 #8F90FB #FB8FC6
square
#FBFA8F #8FFBC4 #8F90FB #FB8FC6
split-complementary
#FBFA8F #8FC6FB #C48FFB
monochromatic
#F7F519 #F9F754 #FBFA8F #FDFDCA #FEFEE1

Accessibility & contrast

On white

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

On black

19.17
#FBFA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA8F
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA8F#FFFFFF#000000##000000
##FBFA8F1.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF286
Deuteranopia (green-blind)
#FFF794
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa8f;
/* rgb */ color: rgb(251, 250, 143);
/* oklch */ color: oklch(96.4% 0.130 108.1);
Tailwind
colors: {
  custom: {
    50: '#fefbb1',
    500: '#fbfa8f',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa8f;
$custom-light: #fefbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa8f",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 143
  },
  "hsl": {
    "h": 59.444,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.96358,
    "c": 0.12969,
    "h": 108.1
  },
  "luminance": 0.90864
}

Semantic roles & 50–950 ramp

primary
#FBFA8F
secondary
#5355DB
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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