#F8F391#F8F391

#F8F391 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.7% C 0.120 H 105.9°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#F8F391
RGBrgb(248, 243, 145)
HSLhsl(57, 88%, 77%)
HSVhsv(57, 42%, 97%)
CMYKcmyk(0%, 2%, 41.5%, 2.7%)
CIE-LABlab(94.36, -11.85, 47.74)
CIE-LCHlch(94.36, 49.19, 103.94°)
OKLaboklab(94.72% -0.033 0.1156)
OKLCHoklch(94.72% 0.12 105.9)
XYZxyz(75.8742, 86.1038, 39.4054)
Luminance0.8610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F391 #9196F8
analogous
#F8BF91 #F8F391 #CAF891
triadic
#F8F391 #91F8F3 #F391F8
tetradic
#F8F391 #91F8BF #9196F8 #F891CA
square
#F8F391 #91F8BF #9196F8 #F891CA
split-complementary
#F8F391 #91CAF8 #BF91F8
monochromatic
#F1E61E #F4ED57 #F8F391 #FCF9CB #FDFCE2

Accessibility & contrast

On white

1.15
#F8F391 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#F8F391 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F391
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F391#FFFFFF#000000##000000
##F8F3911.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC89
Deuteranopia (green-blind)
#FFF195
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f391;
/* rgb */ color: rgb(248, 243, 145);
/* oklch */ color: oklch(94.7% 0.120 105.9);
Tailwind
colors: {
  custom: {
    50: '#fcf6b3',
    500: '#f8f391',
    950: '#000000',
  },
}
SCSS
$custom: #f8f391;
$custom-light: #fcf6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f391",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 145
  },
  "hsl": {
    "h": 57.087,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94722,
    "c": 0.12017,
    "h": 105.9
  },
  "luminance": 0.86102
}

Semantic roles & 50–950 ramp

primary
#F8F391
secondary
#565DD7
accent
#0CE501
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F391

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

Preview Lab → · Contrast checker → · Palette generator →

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