#FAFB89#FAFB89

#FAFB89 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.4% C 0.137 H 109.2°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#FAFB89
RGBrgb(250, 251, 137)
HSLhsl(61, 93%, 76%)
HSVhsv(61, 45%, 98%)
CMYKcmyk(0.4%, 0%, 45.4%, 1.6%)
CIE-LABlab(96.46, -15.76, 54.19)
CIE-LCHlch(96.46, 56.43, 106.21°)
OKLaboklab(96.4% -0.045 0.1294)
OKLCHoklch(96.4% 0.137 109.2)
XYZxyz(78.4384, 91.1262, 37.1192)
Luminance0.9112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB89 #8A89FB
analogous
#FBC389 #FAFB89 #C1FB89
triadic
#FAFB89 #89FAFB #FB89FA
tetradic
#FAFB89 #89FBC3 #8A89FB #FB89C1
square
#FAFB89 #89FBC3 #8A89FB #FB89C1
split-complementary
#FAFB89 #89C1FB #C389FB
monochromatic
#F5F713 #F7F94E #FAFB89 #FDFDC4 #FEFEE1

Accessibility & contrast

On white

1.09
#FAFB89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.22
#FAFB89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB89
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB89#FFFFFF#000000##000000
##FAFB891.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF37F
Deuteranopia (green-blind)
#FFF78E
Tritanopia (blue-blind)
#FFEFE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafb89;
/* rgb */ color: rgb(250, 251, 137);
/* oklch */ color: oklch(96.4% 0.137 109.2);
Tailwind
colors: {
  custom: {
    50: '#fefcad',
    500: '#fafb89',
    950: '#000000',
  },
}
SCSS
$custom: #fafb89;
$custom-light: #fefcad;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb89",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 137
  },
  "hsl": {
    "h": 60.526,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.96401,
    "c": 0.13698,
    "h": 109.2
  },
  "luminance": 0.91124
}

Semantic roles & 50–950 ramp

primary
#FAFB89
secondary
#4F4EDA
accent
#00E602
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFB89

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

Preview Lab → · Contrast checker → · Palette generator →

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