#F8FA8A#F8FA8A

#F8FA8A is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.1% C 0.135 H 109.6°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#F8FA8A
RGBrgb(248, 250, 138)
HSLhsl(61, 92%, 76%)
HSVhsv(61, 45%, 98%)
CMYKcmyk(0.8%, 0%, 44.8%, 2%)
CIE-LABlab(96.06, -15.95, 53.20)
CIE-LCHlch(96.06, 55.54, 106.69°)
OKLaboklab(96.05% -0.0453 0.1273)
OKLCHoklch(96.05% 0.135 109.6)
XYZxyz(77.4859, 90.1643, 37.3615)
Luminance0.9016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA8A #8C8AFA
analogous
#FAC48A #F8FA8A #C0FA8A
triadic
#F8FA8A #8AF8FA #FA8AF8
tetradic
#F8FA8A #8AFAC4 #8C8AFA #FA8AC0
square
#F8FA8A #8AFAC4 #8C8AFA #FA8AC0
split-complementary
#F8FA8A #8AC0FA #C48AFA
monochromatic
#F1F515 #F4F74F #F8FA8A #FCFDC5 #FDFEE2

Accessibility & contrast

On white

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

On black

19.03
#F8FA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA8A
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA8A#FFFFFF#000000##000000
##F8FA8A1.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fa8a;
/* rgb */ color: rgb(248, 250, 138);
/* oklch */ color: oklch(96.1% 0.135 109.6);
Tailwind
colors: {
  custom: {
    50: '#fcfbae',
    500: '#f8fa8a',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa8a;
$custom-light: #fcfbae;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa8a",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 61.071,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.96052,
    "c": 0.13513,
    "h": 109.6
  },
  "luminance": 0.90163
}

Semantic roles & 50–950 ramp

primary
#F8FA8A
secondary
#524FD9
accent
#00E604
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8FA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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