#F8FA72#F8FA72

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

Color values

HEX#F8FA72
RGBrgb(248, 250, 114)
HSLhsl(61, 93%, 71%)
HSVhsv(61, 54%, 98%)
CMYKcmyk(0.8%, 0%, 54.4%, 2%)
CIE-LABlab(95.81, -17.98, 63.80)
CIE-LCHlch(95.81, 66.28, 105.74°)
OKLaboklab(95.76% -0.0534 0.1483)
OKLCHoklch(95.76% 0.158 109.8)
XYZxyz(75.9362, 89.5444, 29.2000)
Luminance0.8954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA72 #7472FA
analogous
#FAB872 #F8FA72 #B4FA72
triadic
#F8FA72 #72F8FA #FA72F8
tetradic
#F8FA72 #72FAB8 #7472FA #FA72B4
square
#F8FA72 #72FAB8 #7472FA #FA72B4
split-complementary
#F8FA72 #72B4FA #B872FA
monochromatic
#E6E908 #F5F837 #F8FA72 #FBFCAD #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8FA72#FFFFFF#000000##000000
##F8FA721.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)
#FFF164
Deuteranopia (green-blind)
#FFF57A
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa72;
/* rgb */ color: rgb(248, 250, 114);
/* oklch */ color: oklch(95.8% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#fdfb9f',
    500: '#f8fa72',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa72;
$custom-light: #fdfb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa72",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 60.882,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95763,
    "c": 0.15759,
    "h": 109.8
  },
  "luminance": 0.89543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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