#F8F6EC#F8F6EC

#F8F6EC is a very light, near-neutral yellow. Relative luminance 0.919; OKLCH L 97.2% C 0.013 H 97.4°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#F8F6EC
RGBrgb(248, 246, 236)
HSLhsl(50, 46%, 95%)
HSVhsv(50, 5%, 97%)
CMYKcmyk(0%, 0.8%, 4.8%, 2.7%)
CIE-LABlab(96.79, -1.05, 5.04)
CIE-LCHlch(96.79, 5.15, 101.80°)
OKLaboklab(97.2% -0.0017 0.0133)
OKLCHoklch(97.2% 0.013 97.4)
XYZxyz(86.8053, 91.9245, 92.5108)
Luminance0.9192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F6EC #ECEEF8
analogous
#F8F0EC #F8F6EC #F4F8EC
triadic
#F8F6EC #ECF8F6 #F6ECF8
tetradic
#F8F6EC #ECF8F0 #ECEEF8 #F8ECF4
square
#F8F6EC #ECF8F0 #ECEEF8 #F8ECF4
split-complementary
#F8F6EC #ECF4F8 #F0ECF8
monochromatic
#D7CC93 #E8E1BF #F7F4E9 #F7F4E9 #F7F4E9

Accessibility & contrast

On white

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

On black

19.38
#F8F6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F6EC
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F6EC#FFFFFF#000000##000000
##F8F6EC1.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8F5EB
Deuteranopia (green-blind)
#F9F6EC
Tritanopia (blue-blind)
#FAF4F3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8f6ec;
/* rgb */ color: rgb(248, 246, 236);
/* oklch */ color: oklch(97.2% 0.013 97.4);
Tailwind
colors: {
  custom: {
    50: '#faf9f2',
    500: '#f8f6ec',
    950: '#000000',
  },
}
SCSS
$custom: #f8f6ec;
$custom-light: #faf9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f6ec",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 236
  },
  "hsl": {
    "h": 50,
    "s": 46.154,
    "l": 94.902
  },
  "oklch": {
    "l": 0.97195,
    "c": 0.01337,
    "h": 97.4
  },
  "luminance": 0.91924
}

Semantic roles & 50–950 ramp

primary
#F8F6EC
secondary
#B1B7D7
accent
#44B92C
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #F8F6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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