#F8EE97#F8EE97

#F8EE97 is a very light, moderate yellow. Relative luminance 0.833; OKLCH L 93.8% C 0.108 H 102.6°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#F8EE97
RGBrgb(248, 238, 151)
HSLhsl(54, 87%, 78%)
HSVhsv(54, 39%, 97%)
CMYKcmyk(0%, 4%, 39.1%, 2.7%)
CIE-LABlab(93.16, -8.76, 43.30)
CIE-LCHlch(93.16, 44.18, 101.43°)
OKLaboklab(93.8% -0.0236 0.1058)
OKLCHoklch(93.8% 0.108 102.6)
XYZxyz(74.8732, 83.3419, 41.4146)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EE97 #97A1F8
analogous
#F8BD97 #F8EE97 #D2F897
triadic
#F8EE97 #97F8EE #EE97F8
tetradic
#F8EE97 #97F8BD #97A1F8 #F897D2
square
#F8EE97 #97F8BD #97A1F8 #F897D2
split-complementary
#F8EE97 #97D2F8 #BD97F8
monochromatic
#F0DB24 #F4E55E #F8EE97 #FCF7D0 #FDFAE2

Accessibility & contrast

On white

1.19
#F8EE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#F8EE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EE97
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EE97#FFFFFF#000000##000000
##F8EE971.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE890
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ee97;
/* rgb */ color: rgb(248, 238, 151);
/* oklch */ color: oklch(93.8% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#fcf3b6',
    500: '#f8ee97',
    950: '#000000',
  },
}
SCSS
$custom: #f8ee97;
$custom-light: #fcf3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ee97",
  "rgb": {
    "r": 248,
    "g": 238,
    "b": 151
  },
  "hsl": {
    "h": 53.814,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93802,
    "c": 0.10841,
    "h": 102.6
  },
  "luminance": 0.8334
}

Semantic roles & 50–950 ramp

primary
#F8EE97
secondary
#5C68D8
accent
#19E402
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8EE97

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

Preview Lab → · Contrast checker → · Palette generator →

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