#F8EDCA#F8EDCA

#F8EDCA is a very light, muted yellow. Relative luminance 0.848; OKLCH L 94.6% C 0.047 H 92.6°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#F8EDCA
RGBrgb(248, 237, 202)
HSLhsl(46, 77%, 88%)
HSVhsv(46, 19%, 97%)
CMYKcmyk(0%, 4.4%, 18.5%, 2.7%)
CIE-LABlab(93.79, -1.84, 18.31)
CIE-LCHlch(93.79, 18.41, 95.73°)
OKLaboklab(94.59% -0.0021 0.0472)
OKLCHoklch(94.59% 0.047 92.6)
XYZxyz(79.6558, 84.7904, 68.0356)
Luminance0.8479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EDCA #CAD5F8
analogous
#F8D6CA #F8EDCA #ECF8CA
triadic
#F8EDCA #CAF8ED #EDCAF8
tetradic
#F8EDCA #CAF8D6 #CAD5F8 #F8CAEC
square
#F8EDCA #CAF8D6 #CAD5F8 #F8CAEC
split-complementary
#F8EDCA #CAECF8 #D6CAF8
monochromatic
#EAC85E #F1DB94 #F8EDCA #FBF6E4 #FBF6E4

Accessibility & contrast

On white

1.17
#F8EDCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#F8EDCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EDCA
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EDCA#FFFFFF#000000##000000
##F8EDCA1.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5EBC8
Deuteranopia (green-blind)
#F8EFCB
Tritanopia (blue-blind)
#FFE7E3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8edca;
/* rgb */ color: rgb(248, 237, 202);
/* oklch */ color: oklch(94.6% 0.047 92.6);
Tailwind
colors: {
  custom: {
    50: '#faf2da',
    500: '#f8edca',
    950: '#000000',
  },
}
SCSS
$custom: #f8edca;
$custom-light: #faf2da;
$custom-dark: #000000;
JSON
{
  "hex": "#f8edca",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 202
  },
  "hsl": {
    "h": 45.652,
    "s": 76.667,
    "l": 88.235
  },
  "oklch": {
    "l": 0.94588,
    "c": 0.04721,
    "h": 92.6
  },
  "luminance": 0.84789
}

Semantic roles & 50–950 ramp

primary
#F8EDCA
secondary
#8A9EDC
accent
#3DD90D
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F8EDCA

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

Preview Lab → · Contrast checker → · Palette generator →

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