#F9F7EA#F9F7EA

#F9F7EA is a very light, near-neutral yellow. Relative luminance 0.926; OKLCH L 97.4% C 0.017 H 99.6°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#F9F7EA
RGBrgb(249, 247, 234)
HSLhsl(52, 56%, 95%)
HSVhsv(52, 6%, 98%)
CMYKcmyk(0%, 0.8%, 6%, 2.4%)
CIE-LABlab(97.07, -1.55, 6.48)
CIE-LCHlch(97.07, 6.66, 103.48°)
OKLaboklab(97.42% -0.0029 0.017)
OKLCHoklch(97.42% 0.017 99.6)
XYZxyz(87.1769, 92.6022, 91.1074)
Luminance0.9260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F7EA #EAECF9
analogous
#F9F0EA #F9F7EA #F4F9EA
triadic
#F9F7EA #EAF9F7 #F7EAF9
tetradic
#F9F7EA #EAF9F0 #EAECF9 #F9EAF4
square
#F9F7EA #EAF9F0 #EAECF9 #F9EAF4
split-complementary
#F9F7EA #EAF4F9 #F0EAF9
monochromatic
#DED38B #EBE5BA #F8F6E7 #F8F6E7 #F8F6E7

Accessibility & contrast

On white

1.08
#F9F7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.52
#F9F7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F7EA
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F7EA#FFFFFF#000000##000000
##F9F7EA1.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f7ea;
/* rgb */ color: rgb(249, 247, 234);
/* oklch */ color: oklch(97.4% 0.017 99.6);
Tailwind
colors: {
  custom: {
    50: '#fbf9f0',
    500: '#f9f7ea',
    950: '#000000',
  },
}
SCSS
$custom: #f9f7ea;
$custom-light: #fbf9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f7ea",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 234
  },
  "hsl": {
    "h": 52,
    "s": 55.556,
    "l": 94.706
  },
  "oklch": {
    "l": 0.97416,
    "c": 0.01725,
    "h": 99.6
  },
  "luminance": 0.92602
}

Semantic roles & 50–950 ramp

primary
#F9F7EA
secondary
#ADB3DB
accent
#38C322
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #F9F7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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