#FAF7EB#FAF7EB

#FAF7EB is a very light, near-neutral yellow. Relative luminance 0.928; OKLCH L 97.5% C 0.016 H 95.2°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FAF7EB
RGBrgb(250, 247, 235)
HSLhsl(48, 60%, 95%)
HSVhsv(48, 6%, 98%)
CMYKcmyk(0%, 1.2%, 6%, 2%)
CIE-LABlab(97.16, -1.05, 6.11)
CIE-LCHlch(97.16, 6.20, 99.72°)
OKLaboklab(97.52% -0.0015 0.0161)
OKLCHoklch(97.52% 0.016 95.2)
XYZxyz(87.6785, 92.8441, 91.8828)
Luminance0.9284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF7EB #EBEEFA
analogous
#FAEFEB #FAF7EB #F5FAEB
triadic
#FAF7EB #EBFAF7 #F7EBFA
tetradic
#FAF7EB #EBFAEF #EBEEFA #FAEBF5
square
#FAF7EB #EBFAEF #EBEEFA #FAEBF5
split-complementary
#FAF7EB #EBF5FA #EFEBFA
monochromatic
#E2D089 #EEE3BA #F9F5E7 #F9F5E7 #F9F5E7

Accessibility & contrast

On white

1.07
#FAF7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.57
#FAF7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF7EB
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF7EB#FFFFFF#000000##000000
##FAF7EB1.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF6EA
Deuteranopia (green-blind)
#FBF7EB
Tritanopia (blue-blind)
#FDF5F3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #faf7eb;
/* rgb */ color: rgb(250, 247, 235);
/* oklch */ color: oklch(97.5% 0.016 95.2);
Tailwind
colors: {
  custom: {
    50: '#fcf9f1',
    500: '#faf7eb',
    950: '#000000',
  },
}
SCSS
$custom: #faf7eb;
$custom-light: #fcf9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf7eb",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 235
  },
  "hsl": {
    "h": 48,
    "s": 60,
    "l": 95.098
  },
  "oklch": {
    "l": 0.97519,
    "c": 0.01614,
    "h": 95.2
  },
  "luminance": 0.92844
}

Semantic roles & 50–950 ramp

primary
#FAF7EB
secondary
#ACB6DD
accent
#40C81E
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FAF7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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