#F8FA70#F8FA70

#F8FA70 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.7% C 0.159 H 109.8°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#F8FA70
RGBrgb(248, 250, 112)
HSLhsl(61, 93%, 71%)
HSVhsv(61, 55%, 98%)
CMYKcmyk(0.8%, 0%, 55.2%, 2%)
CIE-LABlab(95.79, -18.13, 64.64)
CIE-LCHlch(95.79, 67.14, 105.66°)
OKLaboklab(95.74% -0.054 0.1499)
OKLCHoklch(95.74% 0.159 109.8)
XYZxyz(75.8236, 89.4994, 28.6070)
Luminance0.8950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA70 #7270FA
analogous
#FAB770 #F8FA70 #B3FA70
triadic
#F8FA70 #70F8FA #FA70F8
tetradic
#F8FA70 #70FAB7 #7270FA #FA70B3
square
#F8FA70 #70FAB7 #7270FA #FA70B3
split-complementary
#F8FA70 #70B3FA #B770FA
monochromatic
#E4E808 #F5F835 #F8FA70 #FBFCAB #FEFEE1

Accessibility & contrast

On white

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

On black

18.90
#F8FA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA70
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA70#FFFFFF#000000##000000
##F8FA701.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF061
Deuteranopia (green-blind)
#FFF578
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa70;
/* rgb */ color: rgb(248, 250, 112);
/* oklch */ color: oklch(95.7% 0.159 109.8);
Tailwind
colors: {
  custom: {
    50: '#fdfb9d',
    500: '#f8fa70',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa70;
$custom-light: #fdfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa70",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 60.87,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95742,
    "c": 0.1593,
    "h": 109.8
  },
  "luminance": 0.89498
}

Semantic roles & 50–950 ramp

primary
#F8FA70
secondary
#3B39D5
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FA70

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

Preview Lab → · Contrast checker → · Palette generator →

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