#FAF7EA#FAF7EA

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

Color values

HEX#FAF7EA
RGBrgb(250, 247, 234)
HSLhsl(49, 62%, 95%)
HSVhsv(49, 6%, 98%)
CMYKcmyk(0%, 1.2%, 6.4%, 2%)
CIE-LABlab(97.14, -1.21, 6.60)
CIE-LCHlch(97.14, 6.71, 100.42°)
OKLaboklab(97.49% -0.0018 0.0173)
OKLCHoklch(97.49% 0.017 96.1)
XYZxyz(87.5344, 92.7865, 91.1241)
Luminance0.9279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF7EA #EAEDFA
analogous
#FAEFEA #FAF7EA #F5FAEA
triadic
#FAF7EA #EAFAF7 #F7EAFA
tetradic
#FAF7EA #EAFAEF #EAEDFA #FAEAF5
square
#FAF7EA #EAFAEF #EAEDFA #FAEAF5
split-complementary
#FAF7EA #EAF5FA #EFEAFA
monochromatic
#E2D187 #EEE4B9 #F9F6E6 #F9F6E6 #F9F6E6

Accessibility & contrast

On white

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

On black

19.56
#FAF7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF7EA
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF7EA#FFFFFF#000000##000000
##FAF7EA1.001.0719.5619.56
#FFFFFF1.071.0021.0021.00
#00000019.5621.001.001.00
##00000019.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf7ea;
/* rgb */ color: rgb(250, 247, 234);
/* oklch */ color: oklch(97.5% 0.017 96.1);
Tailwind
colors: {
  custom: {
    50: '#fcf9f0',
    500: '#faf7ea',
    950: '#000000',
  },
}
SCSS
$custom: #faf7ea;
$custom-light: #fcf9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf7ea",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 234
  },
  "hsl": {
    "h": 48.75,
    "s": 61.538,
    "l": 94.902
  },
  "oklch": {
    "l": 0.97493,
    "c": 0.01742,
    "h": 96.1
  },
  "luminance": 0.92786
}

Semantic roles & 50–950 ramp

primary
#FAF7EA
secondary
#ABB4DD
accent
#3DC91C
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FAF7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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