#F8EA9A#F8EA9A

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

Color values

HEX#F8EA9A
RGBrgb(248, 234, 154)
HSLhsl(51, 87%, 79%)
HSVhsv(51, 38%, 97%)
CMYKcmyk(0%, 5.6%, 37.9%, 2.7%)
CIE-LABlab(92.19, -6.44, 40.57)
CIE-LCHlch(92.19, 41.08, 99.02°)
OKLaboklab(93.05% -0.0167 0.0997)
OKLCHoklch(93.05% 0.101 99.5)
XYZxyz(73.9683, 81.1373, 42.3302)
Luminance0.8114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA9A #9AA8F8
analogous
#F8BB9A #F8EA9A #D7F89A
triadic
#F8EA9A #9AF8EA #EA9AF8
tetradic
#F8EA9A #9AF8BB #9AA8F8 #F89AD7
square
#F8EA9A #9AF8BB #9AA8F8 #F89AD7
split-complementary
#F8EA9A #9AD7F8 #BB9AF8
monochromatic
#F0D228 #F4DE61 #F8EA9A #FCF6D3 #FDF9E2

Accessibility & contrast

On white

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

On black

17.23
#F8EA9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA9A
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA9A#FFFFFF#000000##000000
##F8EA9A1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E594
Deuteranopia (green-blind)
#FDEB9D
Tritanopia (blue-blind)
#FFDFD6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ea9a;
/* rgb */ color: rgb(248, 234, 154);
/* oklch */ color: oklch(93.0% 0.101 99.5);
Tailwind
colors: {
  custom: {
    50: '#fcf0b8',
    500: '#f8ea9a',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea9a;
$custom-light: #fcf0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea9a",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 154
  },
  "hsl": {
    "h": 51.064,
    "s": 87.037,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93047,
    "c": 0.10106,
    "h": 99.5
  },
  "luminance": 0.81135
}

Semantic roles & 50–950 ramp

primary
#F8EA9A
secondary
#5E70D8
accent
#24E402
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F8EA9A

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

Preview Lab → · Contrast checker → · Palette generator →

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