#F8FAAA#F8FAAA

#F8FAAA is a very light, moderate yellow. Relative luminance 0.912; OKLCH L 96.5% C 0.101 H 109.4°. Best body text is #000000 at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#F8FAAA
RGBrgb(248, 250, 170)
HSLhsl(62, 89%, 82%)
HSVhsv(62, 32%, 98%)
CMYKcmyk(0.8%, 0%, 32%, 2%)
CIE-LABlab(96.51, -12.55, 38.24)
CIE-LCHlch(96.51, 40.24, 108.17°)
OKLaboklab(96.55% -0.0333 0.0948)
OKLCHoklch(96.55% 0.101 109.4)
XYZxyz(80.1532, 91.2312, 51.4094)
Luminance0.9123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAAA #ACAAFA
analogous
#FAD4AA #F8FAAA #D0FAAA
triadic
#F8FAAA #AAF8FA #FAAAF8
tetradic
#F8FAAA #AAFAD4 #ACAAFA #FAAAD0
square
#F8FAAA #AAFAD4 #ACAAFA #FAAAD0
split-complementary
#F8FAAA #AAD0FA #D4AAFA
monochromatic
#EEF336 #F3F770 #F8FAAA #FDFDE2 #FDFDE2

Accessibility & contrast

On white

1.09
#F8FAAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.25
#F8FAAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAAA
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAAA#FFFFFF#000000##000000
##F8FAAA1.001.0919.2519.25
#FFFFFF1.091.0021.0021.00
#00000019.2521.001.001.00
##00000019.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3A4
Deuteranopia (green-blind)
#FFF6AD
Tritanopia (blue-blind)
#FFF1E6
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8faaa;
/* rgb */ color: rgb(248, 250, 170);
/* oklch */ color: oklch(96.5% 0.101 109.4);
Tailwind
colors: {
  custom: {
    50: '#fbfbc4',
    500: '#f8faaa',
    950: '#000000',
  },
}
SCSS
$custom: #f8faaa;
$custom-light: #fbfbc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8faaa",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 170
  },
  "hsl": {
    "h": 61.5,
    "s": 88.889,
    "l": 82.353
  },
  "oklch": {
    "l": 0.96545,
    "c": 0.1005,
    "h": 109.4
  },
  "luminance": 0.9123
}

Semantic roles & 50–950 ramp

primary
#F8FAAA
secondary
#6E6CDD
accent
#00E606
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #F8FAAA

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

Preview Lab → · Contrast checker → · Palette generator →

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