#F8FA76#F8FA76

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

Color values

HEX#F8FA76
RGBrgb(248, 250, 118)
HSLhsl(61, 93%, 72%)
HSVhsv(61, 53%, 98%)
CMYKcmyk(0.8%, 0%, 52.8%, 2%)
CIE-LABlab(95.85, -17.67, 62.08)
CIE-LCHlch(95.85, 64.55, 105.89°)
OKLaboklab(95.81% -0.0521 0.145)
OKLCHoklch(95.81% 0.154 109.8)
XYZxyz(76.1689, 89.6375, 30.4254)
Luminance0.8964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA76 #7876FA
analogous
#FABA76 #F8FA76 #B6FA76
triadic
#F8FA76 #76F8FA #FA76F8
tetradic
#F8FA76 #76FABA #7876FA #FA76B6
square
#F8FA76 #76FABA #7876FA #FA76B6
split-complementary
#F8FA76 #76B6FA #BA76FA
monochromatic
#E9ED09 #F5F83B #F8FA76 #FBFCB1 #FDFEE1

Accessibility & contrast

On white

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

On black

18.93
#F8FA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA76
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA76#FFFFFF#000000##000000
##F8FA761.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF169
Deuteranopia (green-blind)
#FFF57D
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa76;
/* rgb */ color: rgb(248, 250, 118);
/* oklch */ color: oklch(95.8% 0.154 109.8);
Tailwind
colors: {
  custom: {
    50: '#fdfba1',
    500: '#f8fa76',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa76;
$custom-light: #fdfba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa76",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 118
  },
  "hsl": {
    "h": 60.909,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95807,
    "c": 0.15409,
    "h": 109.8
  },
  "luminance": 0.89636
}

Semantic roles & 50–950 ramp

primary
#F8FA76
secondary
#403ED6
accent
#00E603
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FA76

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

Preview Lab → · Contrast checker → · Palette generator →

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