#F8FAE4#F8FAE4

#F8FAE4 is a very light, muted yellow. Relative luminance 0.939; OKLCH L 97.8% C 0.029 H 111.1°. Best body text is #000000 at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#F8FAE4
RGBrgb(248, 250, 228)
HSLhsl(65, 69%, 94%)
HSVhsv(65, 9%, 98%)
CMYKcmyk(0.8%, 0%, 8.8%, 2%)
CIE-LABlab(97.60, -4.39, 10.33)
CIE-LCHlch(97.60, 11.22, 113.02°)
OKLaboklab(97.78% -0.0104 0.0269)
OKLCHoklch(97.78% 0.029 111.1)
XYZxyz(86.8988, 93.9294, 86.9360)
Luminance0.9393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAE4 #E6E4FA
analogous
#FAF1E4 #F8FAE4 #EDFAE4
triadic
#F8FAE4 #E4F8FA #FAE4F8
tetradic
#F8FAE4 #E4FAF1 #E6E4FA #FAE4ED
square
#F8FAE4 #E4FAF1 #E6E4FA #FAE4ED
split-complementary
#F8FAE4 #E4EDFA #F1E4FA
monochromatic
#DDE77D #EBF0B0 #F8FAE4 #F8FAE5 #F8FAE5

Accessibility & contrast

On white

1.06
#F8FAE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.79
#F8FAE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAE4
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAE4#FFFFFF#000000##000000
##F8FAE41.001.0619.7919.79
#FFFFFF1.061.0021.0021.00
#00000019.7921.001.001.00
##00000019.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF8E3
Deuteranopia (green-blind)
#FEF8E5
Tritanopia (blue-blind)
#FBF7F4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f8fae4;
/* rgb */ color: rgb(248, 250, 228);
/* oklch */ color: oklch(97.8% 0.029 111.1);
Tailwind
colors: {
  custom: {
    50: '#fafbec',
    500: '#f8fae4',
    950: '#000000',
  },
}
SCSS
$custom: #f8fae4;
$custom-light: #fafbec;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fae4",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 228
  },
  "hsl": {
    "h": 65.455,
    "s": 68.75,
    "l": 93.725
  },
  "oklch": {
    "l": 0.97776,
    "c": 0.02888,
    "h": 111.1
  },
  "luminance": 0.93929
}

Semantic roles & 50–950 ramp

primary
#F8FAE4
secondary
#A9A3DF
accent
#15D126
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #F8FAE4

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

Preview Lab → · Contrast checker → · Palette generator →

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