#F8F591#F8F591

#F8F591 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.1% C 0.122 H 107.0°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F8F591
RGBrgb(248, 245, 145)
HSLhsl(58, 88%, 77%)
HSVhsv(58, 42%, 97%)
CMYKcmyk(0%, 1.2%, 41.5%, 2.7%)
CIE-LABlab(94.87, -12.83, 48.38)
CIE-LCHlch(94.87, 50.06, 104.85°)
OKLaboklab(95.13% -0.0358 0.117)
OKLCHoklch(95.13% 0.122 107)
XYZxyz(76.4760, 87.3074, 39.6060)
Luminance0.8731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F591 #9194F8
analogous
#F8C191 #F8F591 #C8F891
triadic
#F8F591 #91F8F5 #F591F8
tetradic
#F8F591 #91F8C1 #9194F8 #F891C8
square
#F8F591 #91F8C1 #9194F8 #F891C8
split-complementary
#F8F591 #91C8F8 #C191F8
monochromatic
#F1EB1E #F4F057 #F8F591 #FCFACB #FDFCE2

Accessibility & contrast

On white

1.14
#F8F591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#F8F591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F591
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F591#FFFFFF#000000##000000
##F8F5911.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE89
Deuteranopia (green-blind)
#FFF295
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f591;
/* rgb */ color: rgb(248, 245, 145);
/* oklch */ color: oklch(95.1% 0.122 107.0);
Tailwind
colors: {
  custom: {
    50: '#fcf8b3',
    500: '#f8f591',
    950: '#000000',
  },
}
SCSS
$custom: #f8f591;
$custom-light: #fcf8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f591",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 58.252,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95128,
    "c": 0.12236,
    "h": 107
  },
  "luminance": 0.87306
}

Semantic roles & 50–950 ramp

primary
#F8F591
secondary
#565AD7
accent
#08E501
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F591

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

Preview Lab → · Contrast checker → · Palette generator →

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