#F8EA99#F8EA99

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

Color values

HEX#F8EA99
RGBrgb(248, 234, 153)
HSLhsl(51, 87%, 79%)
HSVhsv(51, 38%, 97%)
CMYKcmyk(0%, 5.6%, 38.3%, 2.7%)
CIE-LABlab(92.18, -6.55, 41.05)
CIE-LCHlch(92.18, 41.57, 99.06°)
OKLaboklab(93.03% -0.0171 0.1007)
OKLCHoklch(93.03% 0.102 99.6)
XYZxyz(73.8853, 81.1041, 41.8934)
Luminance0.8110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA99 #99A7F8
analogous
#F8BA99 #F8EA99 #D6F899
triadic
#F8EA99 #99F8EA #EA99F8
tetradic
#F8EA99 #99F8BA #99A7F8 #F899D6
square
#F8EA99 #99F8BA #99A7F8 #F899D6
split-complementary
#F8EA99 #99D6F8 #BA99F8
monochromatic
#F0D226 #F4DE60 #F8EA99 #FCF6D2 #FDF9E2

Accessibility & contrast

On white

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

On black

17.22
#F8EA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA99
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA99#FFFFFF#000000##000000
##F8EA991.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ea99;
/* rgb */ color: rgb(248, 234, 153);
/* oklch */ color: oklch(93.0% 0.102 99.6);
Tailwind
colors: {
  custom: {
    50: '#fcf0b8',
    500: '#f8ea99',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea99;
$custom-light: #fcf0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea99",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 153
  },
  "hsl": {
    "h": 51.158,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.9303,
    "c": 0.10217,
    "h": 99.6
  },
  "luminance": 0.81102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8EA99

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

Preview Lab → · Contrast checker → · Palette generator →

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