#F9F8EA#F9F8EA

#F9F8EA is a very light, near-neutral yellow. Relative luminance 0.932; OKLCH L 97.6% C 0.018 H 103.4°. Best body text is #000000 at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#F9F8EA
RGBrgb(249, 248, 234)
HSLhsl(56, 56%, 95%)
HSVhsv(56, 6%, 98%)
CMYKcmyk(0%, 0.4%, 6%, 2.4%)
CIE-LABlab(97.31, -2.06, 6.84)
CIE-LCHlch(97.31, 7.14, 106.75°)
OKLaboklab(97.61% -0.0043 0.0179)
OKLCHoklch(97.61% 0.018 103.4)
XYZxyz(87.4836, 93.2154, 91.2096)
Luminance0.9322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F8EA #EAEBF9
analogous
#F9F1EA #F9F8EA #F3F9EA
triadic
#F9F8EA #EAF9F8 #F8EAF9
tetradic
#F9F8EA #EAF9F1 #EAEBF9 #F9EAF3
square
#F9F8EA #EAF9F1 #EAEBF9 #F9EAF3
split-complementary
#F9F8EA #EAF3F9 #F1EAF9
monochromatic
#DED88B #EBE8BA #F8F7E7 #F8F7E7 #F8F7E7

Accessibility & contrast

On white

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

On black

19.64
#F9F8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F8EA
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F8EA#FFFFFF#000000##000000
##F9F8EA1.001.0719.6419.64
#FFFFFF1.071.0021.0021.00
#00000019.6421.001.001.00
##00000019.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF7E9
Deuteranopia (green-blind)
#FBF8EA
Tritanopia (blue-blind)
#FCF6F4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f9f8ea;
/* rgb */ color: rgb(249, 248, 234);
/* oklch */ color: oklch(97.6% 0.018 103.4);
Tailwind
colors: {
  custom: {
    50: '#fbfaf0',
    500: '#f9f8ea',
    950: '#000000',
  },
}
SCSS
$custom: #f9f8ea;
$custom-light: #fbfaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f8ea",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 234
  },
  "hsl": {
    "h": 56,
    "s": 55.556,
    "l": 94.706
  },
  "oklch": {
    "l": 0.97612,
    "c": 0.01844,
    "h": 103.4
  },
  "luminance": 0.93215
}

Semantic roles & 50–950 ramp

primary
#F9F8EA
secondary
#ADB0DB
accent
#2DC322
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #F9F8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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