#F8FB8D#F8FB8D

#F8FB8D is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.3% C 0.133 H 110.0°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#F8FB8D
RGBrgb(248, 251, 141)
HSLhsl(62, 93%, 77%)
HSVhsv(62, 44%, 98%)
CMYKcmyk(1.2%, 0%, 43.8%, 1.6%)
CIE-LABlab(96.36, -16.15, 52.14)
CIE-LCHlch(96.36, 54.59, 107.21°)
OKLaboklab(96.3% -0.0456 0.1252)
OKLCHoklch(96.3% 0.133 110)
XYZxyz(78.0176, 90.8755, 38.6250)
Luminance0.9087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FB8D #908DFB
analogous
#FBC78D #F8FB8D #C1FB8D
triadic
#F8FB8D #8DF8FB #FB8DF8
tetradic
#F8FB8D #8DFBC7 #908DFB #FB8DC1
square
#F8FB8D #8DFBC7 #908DFB #FB8DC1
split-complementary
#F8FB8D #8DC1FB #C78DFB
monochromatic
#F1F717 #F4F952 #F8FB8D #FCFDC8 #FDFEE1

Accessibility & contrast

On white

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

On black

19.17
#F8FB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FB8D
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FB8D#FFFFFF#000000##000000
##F8FB8D1.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF384
Deuteranopia (green-blind)
#FFF692
Tritanopia (blue-blind)
#FFEFE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fb8d;
/* rgb */ color: rgb(248, 251, 141);
/* oklch */ color: oklch(96.3% 0.133 110.0);
Tailwind
colors: {
  custom: {
    50: '#fcfcb0',
    500: '#f8fb8d',
    950: '#000000',
  },
}
SCSS
$custom: #f8fb8d;
$custom-light: #fcfcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fb8d",
  "rgb": {
    "r": 248,
    "g": 251,
    "b": 141
  },
  "hsl": {
    "h": 61.636,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96297,
    "c": 0.13322,
    "h": 110
  },
  "luminance": 0.90874
}

Semantic roles & 50–950 ramp

primary
#F8FB8D
secondary
#5552DB
accent
#00E606
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #F8FB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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