#F8EF9D#F8EF9D

#F8EF9D is a very light, moderate yellow. Relative luminance 0.841; OKLCH L 94.1% C 0.103 H 102.8°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#F8EF9D
RGBrgb(248, 239, 157)
HSLhsl(54, 87%, 79%)
HSVhsv(54, 37%, 97%)
CMYKcmyk(0%, 3.6%, 36.7%, 2.7%)
CIE-LABlab(93.51, -8.61, 40.78)
CIE-LCHlch(93.51, 41.68, 101.92°)
OKLaboklab(94.1% -0.0227 0.1003)
OKLCHoklch(94.1% 0.103 102.8)
XYZxyz(75.6648, 84.1257, 44.1438)
Luminance0.8412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF9D #9DA6F8
analogous
#F8C29D #F8EF9D #D4F89D
triadic
#F8EF9D #9DF8EF #EF9DF8
tetradic
#F8EF9D #9DF8C2 #9DA6F8 #F89DD4
square
#F8EF9D #9DF8C2 #9DA6F8 #F89DD4
split-complementary
#F8EF9D #9DD4F8 #C29DF8
monochromatic
#F0DC2B #F4E664 #F8EF9D #FCF8D6 #FDFAE2

Accessibility & contrast

On white

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

On black

17.82
#F8EF9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF9D
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF9D#FFFFFF#000000##000000
##F8EF9D1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ef9d;
/* rgb */ color: rgb(248, 239, 157);
/* oklch */ color: oklch(94.1% 0.103 102.8);
Tailwind
colors: {
  custom: {
    50: '#fcf4bb',
    500: '#f8ef9d',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef9d;
$custom-light: #fcf4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef9d",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 157
  },
  "hsl": {
    "h": 54.066,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94101,
    "c": 0.10282,
    "h": 102.8
  },
  "luminance": 0.84124
}

Semantic roles & 50–950 ramp

primary
#F8EF9D
secondary
#616DD8
accent
#19E302
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #F8EF9D

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

Preview Lab → · Contrast checker → · Palette generator →

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