#F8FA6B#F8FA6B

#F8FA6B is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.7% C 0.163 H 109.9°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#F8FA6B
RGBrgb(248, 250, 107)
HSLhsl(61, 93%, 70%)
HSVhsv(61, 57%, 98%)
CMYKcmyk(0.8%, 0%, 57.2%, 2%)
CIE-LABlab(95.74, -18.48, 66.73)
CIE-LCHlch(95.74, 69.24, 105.48°)
OKLaboklab(95.69% -0.0556 0.1537)
OKLCHoklch(95.69% 0.163 109.9)
XYZxyz(75.5529, 89.3911, 27.1813)
Luminance0.8939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA6B #6D6BFA
analogous
#FAB46B #F8FA6B #B1FA6B
triadic
#F8FA6B #6BF8FA #FA6BF8
tetradic
#F8FA6B #6BFAB4 #6D6BFA #FA6BB1
square
#F8FA6B #6BFAB4 #6D6BFA #FA6BB1
split-complementary
#F8FA6B #6BB1FA #B46BFA
monochromatic
#E0E308 #F5F830 #F8FA6B #FBFCA6 #FEFEE1

Accessibility & contrast

On white

1.11
#F8FA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.88
#F8FA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA6B
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA6B#FFFFFF#000000##000000
##F8FA6B1.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05B
Deuteranopia (green-blind)
#FFF573
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa6b;
/* rgb */ color: rgb(248, 250, 107);
/* oklch */ color: oklch(95.7% 0.163 109.9);
Tailwind
colors: {
  custom: {
    50: '#fdfb9a',
    500: '#f8fa6b',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa6b;
$custom-light: #fdfb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa6b",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 107
  },
  "hsl": {
    "h": 60.839,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.95692,
    "c": 0.16345,
    "h": 109.9
  },
  "luminance": 0.89389
}

Semantic roles & 50–950 ramp

primary
#F8FA6B
secondary
#3735D5
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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