#F8EA98#F8EA98

#F8EA98 is a very light, moderate yellow. Relative luminance 0.811; OKLCH L 93.0% C 0.103 H 99.7°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#F8EA98
RGBrgb(248, 234, 152)
HSLhsl(51, 87%, 78%)
HSVhsv(51, 39%, 97%)
CMYKcmyk(0%, 5.6%, 38.7%, 2.7%)
CIE-LABlab(92.16, -6.65, 41.53)
CIE-LCHlch(92.16, 42.06, 99.10°)
OKLaboklab(93.01% -0.0175 0.1018)
OKLCHoklch(93.01% 0.103 99.7)
XYZxyz(73.8031, 81.0712, 41.4603)
Luminance0.8107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA98 #98A6F8
analogous
#F8BA98 #F8EA98 #D6F898
triadic
#F8EA98 #98F8EA #EA98F8
tetradic
#F8EA98 #98F8BA #98A6F8 #F898D6
square
#F8EA98 #98F8BA #98A6F8 #F898D6
split-complementary
#F8EA98 #98D6F8 #BA98F8
monochromatic
#F0D325 #F4DE5F #F8EA98 #FCF6D1 #FDF9E2

Accessibility & contrast

On white

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

On black

17.21
#F8EA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA98
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA98#FFFFFF#000000##000000
##F8EA981.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ea98;
/* rgb */ color: rgb(248, 234, 152);
/* oklch */ color: oklch(93.0% 0.103 99.7);
Tailwind
colors: {
  custom: {
    50: '#fcf0b7',
    500: '#f8ea98',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea98;
$custom-light: #fcf0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea98",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 152
  },
  "hsl": {
    "h": 51.25,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93014,
    "c": 0.10327,
    "h": 99.7
  },
  "luminance": 0.81069
}

Semantic roles & 50–950 ramp

primary
#F8EA98
secondary
#5C6ED8
accent
#23E402
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F8EA98

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

Preview Lab → · Contrast checker → · Palette generator →

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