#F8F8EE#F8F8EE

#F8F8EE is a very light, near-neutral yellow. Relative luminance 0.933; OKLCH L 97.6% C 0.013 H 106.6°. Best body text is #000000 at 19.65:1 contrast (WCAG AA passes).

Color values

HEX#F8F8EE
RGBrgb(248, 248, 238)
HSLhsl(60, 42%, 95%)
HSVhsv(60, 4%, 97%)
CMYKcmyk(0%, 0%, 4%, 2.7%)
CIE-LABlab(97.33, -1.73, 4.80)
CIE-LCHlch(97.33, 5.10, 109.79°)
OKLaboklab(97.64% -0.0038 0.0126)
OKLCHoklch(97.64% 0.013 106.6)
XYZxyz(87.7091, 93.2645, 94.2535)
Luminance0.9326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F8EE #EEEEF8
analogous
#F8F3EE #F8F8EE #F3F8EE
triadic
#F8F8EE #EEF8F8 #F8EEF8
tetradic
#F8F8EE #EEF8F3 #EEEEF8 #F8EEF3
square
#F8F8EE #EEF8F3 #EEEEF8 #F8EEF3
split-complementary
#F8F8EE #EEF3F8 #F3EEF8
monochromatic
#D4D497 #E6E6C3 #F6F6E9 #F6F6E9 #F6F6E9

Accessibility & contrast

On white

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

On black

19.65
#F8F8EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F8EE
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F8EE#FFFFFF#000000##000000
##F8F8EE1.001.0719.6519.65
#FFFFFF1.071.0021.0021.00
#00000019.6521.001.001.00
##00000019.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF7ED
Deuteranopia (green-blind)
#FAF8EE
Tritanopia (blue-blind)
#FAF7F5
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f8f8ee;
/* rgb */ color: rgb(248, 248, 238);
/* oklch */ color: oklch(97.6% 0.013 106.6);
Tailwind
colors: {
  custom: {
    50: '#fafaf3',
    500: '#f8f8ee',
    950: '#000000',
  },
}
SCSS
$custom: #f8f8ee;
$custom-light: #fafaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f8ee",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 238
  },
  "hsl": {
    "h": 60,
    "s": 41.667,
    "l": 95.294
  },
  "oklch": {
    "l": 0.9764,
    "c": 0.01317,
    "h": 106.6
  },
  "luminance": 0.93264
}

Semantic roles & 50–950 ramp

primary
#F8F8EE
secondary
#B4B4D6
accent
#31B531
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #F8F8EE

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

Preview Lab → · Contrast checker → · Palette generator →

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