#FAFAF4#FAFAF4

#FAFAF4 is a very light, near-neutral yellow. Relative luminance 0.952; OKLCH L 98.3% C 0.008 H 106.6°. Best body text is #000000 at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#FAFAF4
RGBrgb(250, 250, 244)
HSLhsl(60, 38%, 97%)
HSVhsv(60, 2%, 98%)
CMYKcmyk(0%, 0%, 2.4%, 2%)
CIE-LABlab(98.12, -1.04, 2.87)
CIE-LCHlch(98.12, 3.05, 109.94°)
OKLaboklab(98.35% -0.0022 0.0076)
OKLCHoklch(98.35% 0.008 106.6)
XYZxyz(89.9365, 95.2270, 99.2130)
Luminance0.9523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFAF4 #F4F4FA
analogous
#FAF7F4 #FAFAF4 #F7FAF4
triadic
#FAFAF4 #F4FAFA #FAF4FA
tetradic
#FAFAF4 #F4FAF7 #F4F4FA #FAF4F7
square
#FAFAF4 #F4FAF7 #F4F4FA #FAF4F7
split-complementary
#FAFAF4 #F4F7FA #F7F4FA
monochromatic
#D4D4A0 #E7E7CA #F5F5EA #F5F5EA #F5F5EA

Accessibility & contrast

On white

1.05
#FAFAF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.05
#FAFAF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFAF4
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFAF4#FFFFFF#000000##000000
##FAFAF41.001.0520.0520.05
#FFFFFF1.051.0021.0021.00
#00000020.0521.001.001.00
##00000020.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF9F4
Deuteranopia (green-blind)
#FBFAF4
Tritanopia (blue-blind)
#FBF9F8
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fafaf4;
/* rgb */ color: rgb(250, 250, 244);
/* oklch */ color: oklch(98.3% 0.008 106.6);
Tailwind
colors: {
  custom: {
    50: '#fcfbf7',
    500: '#fafaf4',
    950: '#000000',
  },
}
SCSS
$custom: #fafaf4;
$custom-light: #fcfbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#fafaf4",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 244
  },
  "hsl": {
    "h": 60,
    "s": 37.5,
    "l": 96.863
  },
  "oklch": {
    "l": 0.98345,
    "c": 0.0079,
    "h": 106.6
  },
  "luminance": 0.95227
}

Semantic roles & 50–950 ramp

primary
#FAFAF4
secondary
#BBBBD7
accent
#35B035
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FAFAF4

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

Preview Lab → · Contrast checker → · Palette generator →

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