#F8EF99#F8EF99

#F8EF99 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.107 H 103.1°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F8EF99
RGBrgb(248, 239, 153)
HSLhsl(54, 87%, 79%)
HSVhsv(54, 38%, 97%)
CMYKcmyk(0%, 3.6%, 38.3%, 2.7%)
CIE-LABlab(93.45, -9.04, 42.68)
CIE-LCHlch(93.45, 43.63, 101.96°)
OKLaboklab(94.04% -0.0243 0.1045)
OKLCHoklch(94.04% 0.107 103.1)
XYZxyz(75.3289, 83.9913, 42.3746)
Luminance0.8399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF99 #99A2F8
analogous
#F8BF99 #F8EF99 #D1F899
triadic
#F8EF99 #99F8EF #EF99F8
tetradic
#F8EF99 #99F8BF #99A2F8 #F899D1
square
#F8EF99 #99F8BF #99A2F8 #F899D1
split-complementary
#F8EF99 #99D1F8 #BF99F8
monochromatic
#F0DD26 #F4E660 #F8EF99 #FCF8D2 #FDFBE2

Accessibility & contrast

On white

1.18
#F8EF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#F8EF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF99
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF99#FFFFFF#000000##000000
##F8EF991.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE993
Deuteranopia (green-blind)
#FFEE9C
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8ef99;
/* rgb */ color: rgb(248, 239, 153);
/* oklch */ color: oklch(94.0% 0.107 103.1);
Tailwind
colors: {
  custom: {
    50: '#fcf4b8',
    500: '#f8ef99',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef99;
$custom-light: #fcf4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef99",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 153
  },
  "hsl": {
    "h": 54.316,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94035,
    "c": 0.10725,
    "h": 103.1
  },
  "luminance": 0.83989
}

Semantic roles & 50–950 ramp

primary
#F8EF99
secondary
#5D69D8
accent
#17E402
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8EF99

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

Preview Lab → · Contrast checker → · Palette generator →

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