#FBFA8E#FBFA8E

#FBFA8E is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.3% C 0.131 H 108.2°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#FBFA8E
RGBrgb(251, 250, 142)
HSLhsl(59, 93%, 77%)
HSVhsv(59, 43%, 98%)
CMYKcmyk(0%, 0.4%, 43.4%, 1.6%)
CIE-LABlab(96.34, -14.41, 51.70)
CIE-LCHlch(96.34, 53.67, 105.58°)
OKLaboklab(96.34% -0.0407 0.1242)
OKLCHoklch(96.34% 0.131 108.2)
XYZxyz(78.8532, 90.8352, 38.9651)
Luminance0.9083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA8E #8E8FFB
analogous
#FBC48E #FBFA8E #C5FB8E
triadic
#FBFA8E #8EFBFA #FA8EFB
tetradic
#FBFA8E #8EFBC4 #8E8FFB #FB8EC5
square
#FBFA8E #8EFBC4 #8E8FFB #FB8EC5
split-complementary
#FBFA8E #8EC5FB #C48EFB
monochromatic
#F7F518 #F9F753 #FBFA8E #FDFDC9 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBFA8E#FFFFFF#000000##000000
##FBFA8E1.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)
#FFF285
Deuteranopia (green-blind)
#FFF793
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa8e;
/* rgb */ color: rgb(251, 250, 142);
/* oklch */ color: oklch(96.3% 0.131 108.2);
Tailwind
colors: {
  custom: {
    50: '#fefbb1',
    500: '#fbfa8e',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa8e;
$custom-light: #fefbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa8e",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 142
  },
  "hsl": {
    "h": 59.45,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96344,
    "c": 0.13072,
    "h": 108.2
  },
  "luminance": 0.90833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFA8E

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

Preview Lab → · Contrast checker → · Palette generator →

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