#F8E893#F8E893

#F8E893 is a very light, moderate yellow. Relative luminance 0.798; OKLCH L 92.5% C 0.107 H 98.9°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F8E893
RGBrgb(248, 232, 147)
HSLhsl(50, 88%, 77%)
HSVhsv(50, 41%, 97%)
CMYKcmyk(0%, 6.5%, 40.7%, 2.7%)
CIE-LABlab(91.59, -6.18, 43.26)
CIE-LCHlch(91.59, 43.70, 98.13°)
OKLaboklab(92.53% -0.0165 0.1055)
OKLCHoklch(92.53% 0.107 98.9)
XYZxyz(72.8360, 79.7785, 39.1602)
Luminance0.7978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E893 #93A3F8
analogous
#F8B593 #F8E893 #D6F893
triadic
#F8E893 #93F8E8 #E893F8
tetradic
#F8E893 #93F8B5 #93A3F8 #F893D6
square
#F8E893 #93F8B5 #93A3F8 #F893D6
split-complementary
#F8E893 #93D6F8 #B593F8
monochromatic
#F1D020 #F4DC5A #F8E893 #FCF4CC #FDF9E2

Accessibility & contrast

On white

1.24
#F8E893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#F8E893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E893
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E893#FFFFFF#000000##000000
##F8E8931.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E38D
Deuteranopia (green-blind)
#FCEA96
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8e893;
/* rgb */ color: rgb(248, 232, 147);
/* oklch */ color: oklch(92.5% 0.107 98.9);
Tailwind
colors: {
  custom: {
    50: '#fcefb4',
    500: '#f8e893',
    950: '#000000',
  },
}
SCSS
$custom: #f8e893;
$custom-light: #fcefb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e893",
  "rgb": {
    "r": 248,
    "g": 232,
    "b": 147
  },
  "hsl": {
    "h": 50.495,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92533,
    "c": 0.1068,
    "h": 98.9
  },
  "luminance": 0.79776
}

Semantic roles & 50–950 ramp

primary
#F8E893
secondary
#586CD7
accent
#25E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F8E893

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

Preview Lab → · Contrast checker → · Palette generator →

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