#F8FB8A#F8FB8A

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

Color values

HEX#F8FB8A
RGBrgb(248, 251, 138)
HSLhsl(62, 93%, 76%)
HSVhsv(62, 45%, 98%)
CMYKcmyk(1.2%, 0%, 45%, 1.6%)
CIE-LABlab(96.32, -16.44, 53.51)
CIE-LCHlch(96.32, 55.98, 107.07°)
OKLaboklab(96.26% -0.0467 0.128)
OKLCHoklch(96.26% 0.136 110)
XYZxyz(77.7974, 90.7874, 37.4653)
Luminance0.9079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FB8A #8D8AFB
analogous
#FBC68A #F8FB8A #C0FB8A
triadic
#F8FB8A #8AF8FB #FB8AF8
tetradic
#F8FB8A #8AFBC6 #8D8AFB #FB8AC0
square
#F8FB8A #8AFBC6 #8D8AFB #FB8AC0
split-complementary
#F8FB8A #8AC0FB #C68AFB
monochromatic
#F1F714 #F4F94F #F8FB8A #FCFDC5 #FDFEE1

Accessibility & contrast

On white

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

On black

19.16
#F8FB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FB8A
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FB8A#FFFFFF#000000##000000
##F8FB8A1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF68F
Tritanopia (blue-blind)
#FFEFE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fb8a;
/* rgb */ color: rgb(248, 251, 138);
/* oklch */ color: oklch(96.3% 0.136 110.0);
Tailwind
colors: {
  custom: {
    50: '#fcfcae',
    500: '#f8fb8a',
    950: '#000000',
  },
}
SCSS
$custom: #f8fb8a;
$custom-light: #fcfcae;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fb8a",
  "rgb": {
    "r": 248,
    "g": 251,
    "b": 138
  },
  "hsl": {
    "h": 61.593,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.96257,
    "c": 0.13626,
    "h": 110
  },
  "luminance": 0.90786
}

Semantic roles & 50–950 ramp

primary
#F8FB8A
secondary
#534FDA
accent
#00E606
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8FB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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