#FAFAF0#FAFAF0

#FAFAF0 is a very light, near-neutral yellow. Relative luminance 0.950; OKLCH L 98.2% C 0.013 H 106.7°. Best body text is #000000 at 20.00:1 contrast (WCAG AA passes).

Color values

HEX#FAFAF0
RGBrgb(250, 250, 240)
HSLhsl(60, 50%, 96%)
HSVhsv(60, 4%, 98%)
CMYKcmyk(0%, 0%, 4%, 2%)
CIE-LABlab(98.03, -1.72, 4.79)
CIE-LCHlch(98.03, 5.09, 109.79°)
OKLaboklab(98.24% -0.0038 0.0126)
OKLCHoklch(98.24% 0.013 106.7)
XYZxyz(89.3358, 94.9867, 96.0491)
Luminance0.9499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFAF0 #F0F0FA
analogous
#FAF5F0 #FAFAF0 #F5FAF0
triadic
#FAFAF0 #F0FAFA #FAF0FA
tetradic
#FAFAF0 #F0FAF5 #F0F0FA #FAF0F5
square
#FAFAF0 #F0FAF5 #F0F0FA #FAF0F5
split-complementary
#FAFAF0 #F0F5FA #F5F0FA
monochromatic
#DBDB94 #EBEBC2 #F7F7E8 #F7F7E8 #F7F7E8

Accessibility & contrast

On white

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

On black

20.00
#FAFAF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFAF0
20.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFAF0#FFFFFF#000000##000000
##FAFAF01.001.0520.0020.00
#FFFFFF1.051.0021.0021.00
#00000020.0021.001.001.00
##00000020.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF9EF
Deuteranopia (green-blind)
#FCFAF0
Tritanopia (blue-blind)
#FCF9F7
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fafaf0;
/* rgb */ color: rgb(250, 250, 240);
/* oklch */ color: oklch(98.2% 0.013 106.7);
Tailwind
colors: {
  custom: {
    50: '#fcfbf4',
    500: '#fafaf0',
    950: '#000000',
  },
}
SCSS
$custom: #fafaf0;
$custom-light: #fcfbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#fafaf0",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 240
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 96.078
  },
  "oklch": {
    "l": 0.98238,
    "c": 0.01315,
    "h": 106.7
  },
  "luminance": 0.94986
}

Semantic roles & 50–950 ramp

primary
#FAFAF0
secondary
#B4B4DB
accent
#28BD28
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FAFAF0

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

Preview Lab → · Contrast checker → · Palette generator →

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