#F8EFCA#F8EFCA

#F8EFCA is a very light, muted yellow. Relative luminance 0.860; OKLCH L 95.0% C 0.049 H 95.9°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F8EFCA
RGBrgb(248, 239, 202)
HSLhsl(48, 77%, 88%)
HSVhsv(48, 19%, 97%)
CMYKcmyk(0%, 3.6%, 18.5%, 2.7%)
CIE-LABlab(94.29, -2.85, 19.01)
CIE-LCHlch(94.29, 19.23, 98.52°)
OKLaboklab(94.98% -0.005 0.0489)
OKLCHoklch(94.98% 0.049 95.9)
XYZxyz(80.2381, 85.9550, 68.2297)
Luminance0.8595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EFCA #CAD3F8
analogous
#F8D8CA #F8EFCA #EAF8CA
triadic
#F8EFCA #CAF8EF #EFCAF8
tetradic
#F8EFCA #CAF8D8 #CAD3F8 #F8CAEA
square
#F8EFCA #CAF8D8 #CAD3F8 #F8CAEA
split-complementary
#F8EFCA #CAEAF8 #D8CAF8
monochromatic
#EACE5E #F1DF94 #F8EFCA #FBF7E4 #FBF7E4

Accessibility & contrast

On white

1.15
#F8EFCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#F8EFCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EFCA
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EFCA#FFFFFF#000000##000000
##F8EFCA1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7EDC8
Deuteranopia (green-blind)
#FAF0CB
Tritanopia (blue-blind)
#FFE9E5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8efca;
/* rgb */ color: rgb(248, 239, 202);
/* oklch */ color: oklch(95.0% 0.049 95.9);
Tailwind
colors: {
  custom: {
    50: '#faf4da',
    500: '#f8efca',
    950: '#000000',
  },
}
SCSS
$custom: #f8efca;
$custom-light: #faf4da;
$custom-dark: #000000;
JSON
{
  "hex": "#f8efca",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 202
  },
  "hsl": {
    "h": 48.261,
    "s": 76.667,
    "l": 88.235
  },
  "oklch": {
    "l": 0.94982,
    "c": 0.04916,
    "h": 95.9
  },
  "luminance": 0.85954
}

Semantic roles & 50–950 ramp

primary
#F8EFCA
secondary
#8A9ADC
accent
#35D90D
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F8EFCA

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

Preview Lab → · Contrast checker → · Palette generator →

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