#FAFB94#FAFB94

#FAFB94 is a very light, vivid yellow. Relative luminance 0.915; OKLCH L 96.6% C 0.126 H 109.0°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#FAFB94
RGBrgb(250, 251, 148)
HSLhsl(61, 93%, 78%)
HSVhsv(61, 41%, 98%)
CMYKcmyk(0.4%, 0%, 41%, 1.6%)
CIE-LABlab(96.60, -14.70, 49.14)
CIE-LCHlch(96.60, 51.29, 106.65°)
OKLaboklab(96.55% -0.041 0.1189)
OKLCHoklch(96.55% 0.126 109)
XYZxyz(79.2681, 91.4581, 41.4887)
Luminance0.9146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB94 #9594FB
analogous
#FBC994 #FAFB94 #C6FB94
triadic
#FAFB94 #94FAFB #FB94FA
tetradic
#FAFB94 #94FBC9 #9594FB #FB94C6
square
#FAFB94 #94FBC9 #9594FB #FB94C6
split-complementary
#FAFB94 #94C6FB #C994FB
monochromatic
#F4F71E #F7F959 #FAFB94 #FDFDCF #FEFEE2

Accessibility & contrast

On white

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

On black

19.29
#FAFB94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB94
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB94#FFFFFF#000000##000000
##FAFB941.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38C
Deuteranopia (green-blind)
#FFF799
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafb94;
/* rgb */ color: rgb(250, 251, 148);
/* oklch */ color: oklch(96.6% 0.126 109.0);
Tailwind
colors: {
  custom: {
    50: '#fdfcb5',
    500: '#fafb94',
    950: '#000000',
  },
}
SCSS
$custom: #fafb94;
$custom-light: #fdfcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb94",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 148
  },
  "hsl": {
    "h": 60.583,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.96554,
    "c": 0.12573,
    "h": 109
  },
  "luminance": 0.91456
}

Semantic roles & 50–950 ramp

primary
#FAFB94
secondary
#5958DB
accent
#00E602
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAFB94

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

Preview Lab → · Contrast checker → · Palette generator →

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