#F8FA9B#F8FA9B

#F8FA9B is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.3% C 0.117 H 109.5°. Best body text is #000000 at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#F8FA9B
RGBrgb(248, 250, 155)
HSLhsl(61, 90%, 79%)
HSVhsv(61, 38%, 98%)
CMYKcmyk(0.8%, 0%, 38%, 2%)
CIE-LABlab(96.28, -14.24, 45.33)
CIE-LCHlch(96.28, 47.52, 107.44°)
OKLaboklab(96.3% -0.0391 0.1106)
OKLCHoklch(96.3% 0.117 109.5)
XYZxyz(78.8144, 90.6957, 44.3582)
Luminance0.9069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA9B #9D9BFA
analogous
#FACD9B #F8FA9B #C9FA9B
triadic
#F8FA9B #9BF8FA #FA9BF8
tetradic
#F8FA9B #9BFACD #9D9BFA #FA9BC9
square
#F8FA9B #9BFACD #9D9BFA #FA9BC9
split-complementary
#F8FA9B #9BC9FA #CD9BFA
monochromatic
#F0F426 #F4F761 #F8FA9B #FCFDD5 #FDFEE2

Accessibility & contrast

On white

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

On black

19.14
#F8FA9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA9B
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA9B#FFFFFF#000000##000000
##F8FA9B1.001.1019.1419.14
#FFFFFF1.101.0021.0021.00
#00000019.1421.001.001.00
##00000019.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF294
Deuteranopia (green-blind)
#FFF69F
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fa9b;
/* rgb */ color: rgb(248, 250, 155);
/* oklch */ color: oklch(96.3% 0.117 109.5);
Tailwind
colors: {
  custom: {
    50: '#fcfbb9',
    500: '#f8fa9b',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa9b;
$custom-light: #fcfbb9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa9b",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 155
  },
  "hsl": {
    "h": 61.263,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96298,
    "c": 0.11731,
    "h": 109.5
  },
  "luminance": 0.90694
}

Semantic roles & 50–950 ramp

primary
#F8FA9B
secondary
#615EDB
accent
#00E605
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #F8FA9B

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

Preview Lab → · Contrast checker → · Palette generator →

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