#FAFA99#FAFA99

#FAFA99 is a very light, moderate yellow. Relative luminance 0.910; OKLCH L 96.4% C 0.119 H 108.4°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#FAFA99
RGBrgb(250, 250, 153)
HSLhsl(60, 91%, 79%)
HSVhsv(60, 39%, 98%)
CMYKcmyk(0%, 0%, 38.8%, 2%)
CIE-LABlab(96.41, -13.70, 46.49)
CIE-LCHlch(96.41, 48.47, 106.41°)
OKLaboklab(96.43% -0.0377 0.1131)
OKLCHoklch(96.43% 0.119 108.4)
XYZxyz(79.3608, 90.9967, 43.5143)
Luminance0.9100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA99 #9999FA
analogous
#FACA99 #FAFA99 #CAFA99
triadic
#FAFA99 #99FAFA #FA99FA
tetradic
#FAFA99 #99FACA #9999FA #FA99CA
square
#FAFA99 #99FACA #9999FA #FA99CA
split-complementary
#FAFA99 #99CAFA #CA99FA
monochromatic
#F4F424 #F7F75F #FAFA99 #FDFDD3 #FEFEE2

Accessibility & contrast

On white

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

On black

19.20
#FAFA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA99
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA99#FFFFFF#000000##000000
##FAFA991.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafa99;
/* rgb */ color: rgb(250, 250, 153);
/* oklch */ color: oklch(96.4% 0.119 108.4);
Tailwind
colors: {
  custom: {
    50: '#fdfbb8',
    500: '#fafa99',
    950: '#000000',
  },
}
SCSS
$custom: #fafa99;
$custom-light: #fdfbb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa99",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.96425,
    "c": 0.11927,
    "h": 108.4
  },
  "luminance": 0.90995
}

Semantic roles & 50–950 ramp

primary
#FAFA99
secondary
#5D5DDB
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAFA99

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

Preview Lab → · Contrast checker → · Palette generator →

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