#F8EA96#F8EA96

#F8EA96 is a very light, moderate yellow. Relative luminance 0.810; OKLCH L 93.0% C 0.105 H 100.0°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#F8EA96
RGBrgb(248, 234, 150)
HSLhsl(51, 88%, 78%)
HSVhsv(51, 40%, 97%)
CMYKcmyk(0%, 5.6%, 39.5%, 2.7%)
CIE-LABlab(92.13, -6.87, 42.48)
CIE-LCHlch(92.13, 43.03, 99.18°)
OKLaboklab(92.98% -0.0182 0.1039)
OKLCHoklch(92.98% 0.105 100)
XYZxyz(73.6407, 81.0063, 40.6049)
Luminance0.8100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA96 #96A4F8
analogous
#F8B996 #F8EA96 #D5F896
triadic
#F8EA96 #96F8EA #EA96F8
tetradic
#F8EA96 #96F8B9 #96A4F8 #F896D5
square
#F8EA96 #96F8B9 #96A4F8 #F896D5
split-complementary
#F8EA96 #96D5F8 #B996F8
monochromatic
#F0D323 #F4DF5D #F8EA96 #FCF5CF #FDF9E2

Accessibility & contrast

On white

1.22
#F8EA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#F8EA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA96
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA96#FFFFFF#000000##000000
##F8EA961.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E590
Deuteranopia (green-blind)
#FDEB99
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8ea96;
/* rgb */ color: rgb(248, 234, 150);
/* oklch */ color: oklch(93.0% 0.105 100.0);
Tailwind
colors: {
  custom: {
    50: '#fcf0b6',
    500: '#f8ea96',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea96;
$custom-light: #fcf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea96",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 150
  },
  "hsl": {
    "h": 51.429,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92982,
    "c": 0.10547,
    "h": 100
  },
  "luminance": 0.81004
}

Semantic roles & 50–950 ramp

primary
#F8EA96
secondary
#5B6DD8
accent
#22E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F8EA96

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

Preview Lab → · Contrast checker → · Palette generator →

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