#F8FA86#F8FA86

#F8FA86 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.0% C 0.139 H 109.6°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#F8FA86
RGBrgb(248, 250, 134)
HSLhsl(61, 92%, 75%)
HSVhsv(61, 46%, 98%)
CMYKcmyk(0.8%, 0%, 46.4%, 2%)
CIE-LABlab(96.02, -16.32, 55.01)
CIE-LCHlch(96.02, 57.38, 106.52°)
OKLaboklab(96% -0.0467 0.131)
OKLCHoklch(96% 0.139 109.6)
XYZxyz(77.2016, 90.0506, 35.8643)
Luminance0.9005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA86 #8886FA
analogous
#FAC286 #F8FA86 #BEFA86
triadic
#F8FA86 #86F8FA #FA86F8
tetradic
#F8FA86 #86FAC2 #8886FA #FA86BE
square
#F8FA86 #86FAC2 #8886FA #FA86BE
split-complementary
#F8FA86 #86BEFA #C286FA
monochromatic
#F1F510 #F5F84B #F8FA86 #FBFCC1 #FDFEE2

Accessibility & contrast

On white

1.10
#F8FA86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.01
#F8FA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA86
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA86#FFFFFF#000000##000000
##F8FA861.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17C
Deuteranopia (green-blind)
#FFF58C
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fa86;
/* rgb */ color: rgb(248, 250, 134);
/* oklch */ color: oklch(96.0% 0.139 109.6);
Tailwind
colors: {
  custom: {
    50: '#fcfbab',
    500: '#f8fa86',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa86;
$custom-light: #fcfbab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa86",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 134
  },
  "hsl": {
    "h": 61.034,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95999,
    "c": 0.13911,
    "h": 109.6
  },
  "luminance": 0.90049
}

Semantic roles & 50–950 ramp

primary
#F8FA86
secondary
#4E4CD8
accent
#00E604
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8FA86

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

Preview Lab → · Contrast checker → · Palette generator →

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