#FAFA94#FAFA94

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

Color values

HEX#FAFA94
RGBrgb(250, 250, 148)
HSLhsl(60, 91%, 78%)
HSVhsv(60, 41%, 98%)
CMYKcmyk(0%, 0%, 40.8%, 2%)
CIE-LABlab(96.34, -14.21, 48.82)
CIE-LCHlch(96.34, 50.85, 106.23°)
OKLaboklab(96.35% -0.0396 0.1181)
OKLCHoklch(96.35% 0.125 108.5)
XYZxyz(78.9565, 90.8350, 41.3848)
Luminance0.9083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA94 #9494FA
analogous
#FAC794 #FAFA94 #C7FA94
triadic
#FAFA94 #94FAFA #FA94FA
tetradic
#FAFA94 #94FAC7 #9494FA #FA94C7
square
#FAFA94 #94FAC7 #9494FA #FA94C7
split-complementary
#FAFA94 #94C7FA #C794FA
monochromatic
#F5F51F #F7F75A #FAFA94 #FDFDCE #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFA94#FFFFFF#000000##000000
##FAFA941.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)
#FFF28C
Deuteranopia (green-blind)
#FFF699
Tritanopia (blue-blind)
#FFEEE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafa94;
/* rgb */ color: rgb(250, 250, 148);
/* oklch */ color: oklch(96.4% 0.125 108.5);
Tailwind
colors: {
  custom: {
    50: '#fdfbb5',
    500: '#fafa94',
    950: '#000000',
  },
}
SCSS
$custom: #fafa94;
$custom-light: #fdfbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa94",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 148
  },
  "hsl": {
    "h": 60,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.9635,
    "c": 0.1246,
    "h": 108.5
  },
  "luminance": 0.90833
}

Semantic roles & 50–950 ramp

primary
#FAFA94
secondary
#5858DA
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAFA94

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

Preview Lab → · Contrast checker → · Palette generator →

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