#F8FA73#F8FA73

#F8FA73 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.157 H 109.8°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#F8FA73
RGBrgb(248, 250, 115)
HSLhsl(61, 93%, 72%)
HSVhsv(61, 54%, 98%)
CMYKcmyk(0.8%, 0%, 54%, 2%)
CIE-LABlab(95.82, -17.90, 63.37)
CIE-LCHlch(95.82, 65.85, 105.77°)
OKLaboklab(95.77% -0.0531 0.1475)
OKLCHoklch(95.77% 0.157 109.8)
XYZxyz(75.9935, 89.5673, 29.5014)
Luminance0.8956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA73 #7573FA
analogous
#FAB973 #F8FA73 #B5FA73
triadic
#F8FA73 #73F8FA #FA73F8
tetradic
#F8FA73 #73FAB9 #7573FA #FA73B5
square
#F8FA73 #73FAB9 #7573FA #FA73B5
split-complementary
#F8FA73 #73B5FA #B973FA
monochromatic
#E7EA08 #F5F838 #F8FA73 #FBFCAE #FEFEE1

Accessibility & contrast

On white

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

On black

18.91
#F8FA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA73
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA73#FFFFFF#000000##000000
##F8FA731.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fa73;
/* rgb */ color: rgb(248, 250, 115);
/* oklch */ color: oklch(95.8% 0.157 109.8);
Tailwind
colors: {
  custom: {
    50: '#fdfb9f',
    500: '#f8fa73',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa73;
$custom-light: #fdfb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa73",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 115
  },
  "hsl": {
    "h": 60.889,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95774,
    "c": 0.15672,
    "h": 109.8
  },
  "luminance": 0.89565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8FA73

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

Preview Lab → · Contrast checker → · Palette generator →

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