#F8EF91#F8EF91

#F8EF91 is a very light, moderate yellow. Relative luminance 0.837; OKLCH L 93.9% C 0.116 H 103.6°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#F8EF91
RGBrgb(248, 239, 145)
HSLhsl(55, 88%, 77%)
HSVhsv(55, 42%, 97%)
CMYKcmyk(0%, 3.6%, 41.5%, 2.7%)
CIE-LABlab(93.34, -9.87, 46.46)
CIE-LCHlch(93.34, 47.50, 102.00°)
OKLaboklab(93.91% -0.0273 0.1127)
OKLCHoklch(93.91% 0.116 103.6)
XYZxyz(74.6902, 83.7358, 39.0107)
Luminance0.8373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF91 #919AF8
analogous
#F8BC91 #F8EF91 #CEF891
triadic
#F8EF91 #91F8EF #EF91F8
tetradic
#F8EF91 #91F8BC #919AF8 #F891CE
square
#F8EF91 #91F8BC #919AF8 #F891CE
split-complementary
#F8EF91 #91CEF8 #BC91F8
monochromatic
#F1DE1E #F4E757 #F8EF91 #FCF7CB #FDFBE2

Accessibility & contrast

On white

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

On black

17.75
#F8EF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF91
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF91#FFFFFF#000000##000000
##F8EF911.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98A
Deuteranopia (green-blind)
#FFEE95
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8ef91;
/* rgb */ color: rgb(248, 239, 145);
/* oklch */ color: oklch(93.9% 0.116 103.6);
Tailwind
colors: {
  custom: {
    50: '#fcf4b2',
    500: '#f8ef91',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef91;
$custom-light: #fcf4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef91",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 145
  },
  "hsl": {
    "h": 54.757,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93911,
    "c": 0.11593,
    "h": 103.6
  },
  "luminance": 0.83734
}

Semantic roles & 50–950 ramp

primary
#F8EF91
secondary
#5662D7
accent
#15E501
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8EF91

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

Preview Lab → · Contrast checker → · Palette generator →

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