#F8F191#F8F191

#F8F191 is a very light, moderate yellow. Relative luminance 0.849; OKLCH L 94.3% C 0.118 H 104.8°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F8F191
RGBrgb(248, 241, 145)
HSLhsl(56, 88%, 77%)
HSVhsv(56, 42%, 97%)
CMYKcmyk(0%, 2.8%, 41.5%, 2.7%)
CIE-LABlab(93.85, -10.86, 47.10)
CIE-LCHlch(93.85, 48.34, 102.99°)
OKLaboklab(94.32% -0.0301 0.1141)
OKLCHoklch(94.32% 0.118 104.8)
XYZxyz(75.2790, 84.9133, 39.2070)
Luminance0.8491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F191 #9198F8
analogous
#F8BD91 #F8F191 #CCF891
triadic
#F8F191 #91F8F1 #F191F8
tetradic
#F8F191 #91F8BD #9198F8 #F891CC
square
#F8F191 #91F8BD #9198F8 #F891CC
split-complementary
#F8F191 #91CCF8 #BD91F8
monochromatic
#F1E21E #F4EA57 #F8F191 #FCF8CB #FDFBE2

Accessibility & contrast

On white

1.17
#F8F191 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#F8F191 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F191
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F191#FFFFFF#000000##000000
##F8F1911.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB89
Deuteranopia (green-blind)
#FFF095
Tritanopia (blue-blind)
#FFE5DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f191;
/* rgb */ color: rgb(248, 241, 145);
/* oklch */ color: oklch(94.3% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#fcf5b2',
    500: '#f8f191',
    950: '#000000',
  },
}
SCSS
$custom: #f8f191;
$custom-light: #fcf5b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f191",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 145
  },
  "hsl": {
    "h": 55.922,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94316,
    "c": 0.11803,
    "h": 104.8
  },
  "luminance": 0.84911
}

Semantic roles & 50–950 ramp

primary
#F8F191
secondary
#565FD7
accent
#10E501
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F191

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

Preview Lab → · Contrast checker → · Palette generator →

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